bp_ . $this->id . _includes

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

    Source Reference:

    • Component: BuddyPress:: bp-core
      File: /bp-core/bp-core-component.php :: Trac Source Line: 194
      				require( $this->path . '/bp-' . $this->id . '/' . $file );
      
      			// Check buddypress/bp-component/bp-component-$file.php
      			elseif ( @is_file( $this->path . '/bp-' . $this->id . '/bp-' . $this->id . '-' . $file  . '.php' ) )
      				require( $this->path . '/bp-' . $this->id . '/bp-' . $this->id . '-' . $file . '.php' );
      
      		}
      
      		// Call action
      		do_action( 'bp_' . $this->id . '_includes' );
      	}
      
      	/**
      	 * Setup the actions
      	 *
      	 * @since 1.5
      	 * @access private
      	 *
      	 * @uses add_action() To add various actions
      	 * @uses do_action() Calls 'bp_{@link BP_Component::name}setup_actions'
      

Comments are closed.