bp_ . $this->id . _setup_actions

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

    Source Reference:

    • Component: BuddyPress:: bp-core
      File: /bp-core/bp-core-component.php :: Trac Source Line: 240
      		add_action( 'bp_register_taxonomies',    array ( $this, 'register_taxonomies'    ), 10 );
      
      		// Add the rewrite tags
      		add_action( 'bp_add_rewrite_tags',       array ( $this, 'add_rewrite_tags'       ), 10 );
      
      		// Generate rewrite rules
      		add_action( 'bp_generate_rewrite_rules', array ( $this, 'generate_rewrite_rules' ), 10 );
      
      		// Additional actions can be attached here
      		do_action( 'bp_' . $this->id . '_setup_actions' );
      	}
      
      	/**
      	 * Setup the navigation
      	 *
      	 * @param arr $main_nav Optional
      	 * @param arr $sub_nav Optional
      	 */
      	function setup_nav( $main_nav = '', $sub_nav = '' ) {
      

Comments are closed.