Skip to content
r-a-y edited this page Apr 12, 2013 · 2 revisions

BP Follow comes with a few internal filter switches you can use to enable / disable certain functionality.

To use these switches, add the snippet in question to your theme's functions.php or wp-content/plugins/bp-custom.php.


Disable the "Activity > Following" subnav item on a user's profile page

add_filter( 'bp_follow_show_activity_subnav', '__return_false' );

Disable AJAX filtering on a user's "Following" / "Followers" pages

add_filter( 'bp_follow_allow_ajax_on_follow_pages', '__return_false' );