@jchretien
Active 7 months, 3 weeks ago
-
Varun Dubey replied to the topic How to disable the member (directory) page? in the forum How-to & Troubleshooting 10 months ago
@jchretien
Replace ‘your_member_type’ with the actual slug of your desired member type.function wbcom_custom_bp_members_filter($args) {
[Read more]
// Only apply the filter for non-admin users
if (!current_user_can('manage_options')) {
// Specify the member type you want to display
$desired_member_type = 'your_member_type';…