Hiding Admin Users From the Members Directory
If you want to find out how to add a PHP code snippet to your site, you can visit this other article of our documentation: Adding Custom PHP Without Changing Your Child Theme.
If you would like to hide your administrators from the member directory, these two posts explain every steps needed and provide very helpful snippets:
Hide BuddyPress Members Directory
Exclude Users from Members directory on a BuddyPress based social network
Hiding Admin Users From the BuddyPress Widgets
If you wish to also hide admin users from the native BP widgets, please also read the following topic:
https://buddypress.org/support/topic/hide-admins-from-bp-widget/
If you have further questions with BuddyPress, it’s best if you try to reach the plugin authors. They will be more informed and better suited to help you.
To go further, we invite you to post your request on their support forums:
https://buddypress.org/support/
Going Further
My members directory show no members or only one
Manually Created Users The reason why you can’t see the users that you created manually […]
How to Hide Admin Users in the Members Directory?
Hiding Admin Users From the Members Directory Heads up! Don’t know how to add a […]
Add new fields to directory search form
This article will teach you how to edit the member search form on your members […]