bp_before_directory_groups_list
Fires before the listing of the groups list.
Description
do_action( 'bp_before_directory_groups_list' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'bp_before_directory_groups_list' );
- The following example is for adding a hook callback.
- // define the bp_before_directory_groups_list callback
- function action_bp_before_directory_groups_list( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'bp_before_directory_groups_list', 'action_bp_before_directory_groups_list', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'bp_before_directory_groups_list', 'action_bp_before_directory_groups_list', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /groups/groups-loop.php
- <?php do_action( 'bp_before_directory_groups_list' ); ?>