bp_ . $this->id . _setup_admin_bar

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

    Source Reference:

    • Component: BuddyPress:: bp-core
      File: /bp-core/bp-core-component.php :: Trac Source Line: 298
      			// Define the WordPress global
      			global $wp_admin_bar;
      
      			// Add each admin menu
      			foreach( $this->admin_menu as $admin_menu )
      				$wp_admin_bar->add_menu( $admin_menu );
      		}
      
      		// Call action
      		do_action( 'bp_' . $this->id . '_setup_admin_bar' );
      	}
      
      	/**
      	 * Setup the component title
      	 *
      	 * @since 1.5
      	 *
      	 * @uses do_action() Calls 'bp_{@link bp_Component::name}setup_title'
      	 */
      	function setup_title( ) {
      

Comments are closed.