BuddyDev

Hiding Users on BuddyPress based site

Do you want to hide users from directories/widgets/friend lists etc on a BuddyPress site? I had covered it 3 years ago in another post here. Since then, things have changed. Though the old code is still working, there are better ways now to exclude users. Instead of filtering on "bp_ajax_querystring", you can filter on "bp_before_has_members_parse_args" …