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