Delete profile tab
-
I need to remove the user profiles tab:
http://img521.imageshack.us/img521/2634/sinttulodi.png
remove red
this does not work in bp-costum.php
<?php
define ( ‘BP_DISABLE_ADMIN_BAR’, true );
function bbg_remove_profile_tab() {
bp_core_remove_nav_item( ‘profile’ );
}
add_action( ‘bp_setup_nav’, ‘bbg_remove_profile_tab’, 99 );
?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Delete profile tab’ is closed to new replies.