How To Remove Members Tab From Groups

Here’s a handy WordPress code snippet which allows you to remove members tab from group pages in BuddyPress.

Quick Tip : Show Trailing Zeros on Prices in WooCommerce

To remove members tab, drop the following code in your functions.php file.

//Remove members tab from groups in buddypress
function ccw_remove_group_member_tab() {
	bp_core_remove_subnav_item( bp_get_current_group_slug(), 'members' );
add_action( 'bp_setup_nav', 'ccw_remove_group_member_tab', 15 );



Leave a Comment.