Advertisement
fauzanjeg

Remove some Buddypress Nav

Sep 26th, 2021
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.22 KB | None | 0 0
  1. /** Remove some Buddypress Nav */
  2. function remove_some_buddypress_nav(){
  3.     bp_core_remove_nav_item( 'profile' );
  4.     bp_core_remove_nav_item( 'playlist' );
  5. }
  6. add_action( 'bp_setup_nav', 'remove_some_buddypress_nav', 99 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement