Hide some users
Hello, is it possible to hide some users from user list based on usermeta values? For example I would like to hide all users whose usermeta value is user_disabled=1. How can I do that?
The wpDiscuz User & Comment Mentioning add-on has the following filter you can use for this purpose:
$users = apply_filters('wpdumc_user_search_result', $users, $postID, $ch_user);
hi @astghik, do you have some documentation or usage example on how it should be used in functions.php?