{"id":4451,"date":"2022-08-10T17:39:34","date_gmt":"2022-08-10T16:39:34","guid":{"rendered":"https:\/\/ibex.tech\/wordpress-sites\/?p=4451"},"modified":"2022-08-10T20:26:37","modified_gmt":"2022-08-10T19:26:37","slug":"delete-user","status":"publish","type":"post","link":"https:\/\/ibex.tech\/wordpress-sites\/plugins\/buddypress\/members\/delete-user","title":{"rendered":"Delete user"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Delete User<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>  bp_core_delete_account($UserId);    \/\/&lt;Note this will only work if the user carrying out the delete has the necessary permissions. Use wp_delete_user if not<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Delete User<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[361],"tags":[],"class_list":["post-4451","post","type-post","status-publish","format-standard","hentry","category-members"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/wordpress-sites\/wp-json\/wp\/v2\/posts\/4451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/wordpress-sites\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/wordpress-sites\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/wordpress-sites\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/wordpress-sites\/wp-json\/wp\/v2\/comments?post=4451"}],"version-history":[{"count":4,"href":"https:\/\/ibex.tech\/wordpress-sites\/wp-json\/wp\/v2\/posts\/4451\/revisions"}],"predecessor-version":[{"id":4460,"href":"https:\/\/ibex.tech\/wordpress-sites\/wp-json\/wp\/v2\/posts\/4451\/revisions\/4460"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/wordpress-sites\/wp-json\/wp\/v2\/media?parent=4451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/wordpress-sites\/wp-json\/wp\/v2\/categories?post=4451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/wordpress-sites\/wp-json\/wp\/v2\/tags?post=4451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}