bp_include

  • do_action( 'bp_include' )

    Source Reference:

    • Component: BuddyPress:: bp-core
      File: /bp-core/bp-core-hooks.php :: Trac Source Line: 47
      // Setup admin bar
      add_action( 'bp_loaded',  'bp_core_load_admin_bar'     );
      
      /** The hooks *****************************************************************/
      
      /**
       * Include files on this action
       */
      function bp_include() {
      	do_action( 'bp_include' );
      }
      
      /**
       * Setup global variables and objects
       */
      function bp_setup_globals() {
      	do_action( 'bp_setup_globals' );
      }
      
      /**
      

Hook: add_action: bp_include instances (1)

  • add_action( 'bp_include',                array ( $this, 'includes'               ), 8 )
    $function_to_add: array ( $this
    $priority: 0
    $accepted_args: 8

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-component.php :: Trac Source Line: 216
      		// Setup globals
      		add_action( 'bp_setup_globals',          array ( $this, 'setup_globals'          ), 10 );
      
      		// Include required files. Called early to ensure that BP core
      		// components are loaded before plugins that hook their loader functions
      		// to bp_include with the default priority of 10. This is for backwards
      		// compatibility; henceforth, plugins should register themselves by
      		// extending this base class.
      		add_action( 'bp_include',                array ( $this, 'includes'               ), 8 );
      
      		// Setup navigation
      		add_action( 'bp_setup_nav',              array ( $this, 'setup_nav'              ), 10 );
      
      		// Setup WP Admin Bar menus
      		add_action( 'bp_setup_admin_bar',        array ( $this, 'setup_admin_bar'        ), 10 );
      
      		// Setup component title
      		add_action( 'bp_setup_title',            array ( $this, 'setup_title'            ), 10 );
      

Comments are closed.