bp_ . $this->id . _setup_nav

  • do_action( 'bp_' . $this->id . '_setup_nav' )

    Source Reference:

    • Component: BuddyPress:: bp-core
      File: /bp-core/bp-core-component.php :: Trac Source Line: 264
      			// Sub nav items are not required
      			if ( !empty( $sub_nav ) ) {
      				foreach( $sub_nav as $nav ) {
      					bp_core_new_subnav_item( $nav );
      				}
      			}
      		}
      
      		// Call action
      		do_action( 'bp_' . $this->id . '_setup_nav' );
      	}
      
      	/**
      	 * Setup the admin bar
      	 *
      	 * @global obj $wp_admin_bar
      	 * @param array $wp_admin_menus
      	 */
      	function setup_admin_bar( $wp_admin_nav = '' ) {
      

Comments are closed.