{"id":15618855,"date":"2022-05-05T14:41:48","date_gmt":"2022-05-05T14:41:48","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/activate-user-in-php\/"},"modified":"2022-05-05T14:41:48","modified_gmt":"2022-05-05T14:41:48","slug":"activate-user-in-php","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/activate-user-in-php\/","title":{"rendered":"Activate user in PHP"},"content":{"rendered":"<p>Hi everyone,<\/p>\n<p>I am an admin for a clubs website I maintain. For some strange reason I have lost most of my admin privileges somehow.<br \/>\nI have access to the database and made a new admin account, however, I can&#8217;t login as my &#8216;new&#8217; account has not been activated (admin needs to approve registrations).<br \/>\nHow can I manually activate the new account on the database?<\/p>\n<p>Many thanks for your help in advance.<\/p>\n","protected":false},"template":"","class_list":["post-15618855","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15618855","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15618855\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15618855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}