Hide member page of specific roles
Would anyone know how to hide and disable member pages based on their role type. (e.g. yoursite.com/members/username)
Goal: if a member is set to a WordPress Administrator role, we would like to make his/her page inaccessible from the public
Purpose: while we have been able to hide specific roles from displaying in the member directory, their member/page is still visible if you know the URL.
Similar to how we can make the WordPress Author page inaccessible, we’d like to do the same for BuddyPress’s equivalent Member page.
Thanks in advance
- You must be logged in to reply to this topic.