-
Notifications
You must be signed in to change notification settings - Fork 39
Filter switches
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.
add_filter( 'bp_follow_show_activity_subnav', '__return_false' );
add_filter( 'bp_follow_allow_ajax_on_follow_pages', '__return_false' );