bbdev

Onesocial - Show profile nav items

May 16th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.26 KB | None | 0 0
  1. add_action( 'bp_setup_nav', 'bboss_onesocial_forceh_show_nav_items', 14 );
  2. function bboss_onesocial_forceh_show_nav_items(  ){
  3.     if( function_exists( 'buddyboss_remove_settings_nav' ) ){
  4.         remove_action( 'bp_setup_nav', 'buddyboss_remove_settings_nav', 15 );
  5.     }
  6. }
Add Comment
Please, Sign In to add comment