Removing Admin/User from Members

This will remove administrator from Members directory, Online members and other BuddyPress pages.

1. You need to note the Administrator ID from WP Admin -> Users section.

2. Add this code in Child theme -> functions.php or WPLMS Customiser -> wplms_customiser.php

Change 1 in above code to Administrator ID.

For multiple members, same code can be added as :

Where 1,2,3 are user ids to be exluded

Was this article helpful?

Related Articles