bp_setup_root_components
The BuddyPress bp setup root components hook.
Description
do_action( 'bp_setup_root_components' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'bp_setup_root_components' );
- The following example is for adding a hook callback.
- // define the bp_setup_root_components callback
- function action_bp_setup_root_components( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'bp_setup_root_components', 'action_bp_setup_root_components', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'bp_setup_root_components', 'action_bp_setup_root_components', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /bp-core/deprecated/1.5.php
- do_action( 'bp_setup_root_components' );