groups_custom_create_steps
The BuddyPress groups custom create steps hook.
Description
do_action( 'groups_custom_create_steps' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'groups_custom_create_steps' );
- The following example is for adding a hook callback.
- // define the groups_custom_create_steps callback
- function action_groups_custom_create_steps( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'groups_custom_create_steps', 'action_groups_custom_create_steps', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'groups_custom_create_steps', 'action_groups_custom_create_steps', 10, 0 );
Defined (2)
The action is defined in the following location(s).
- /bp-themes/bp-default/groups/create.php
- <?php do_action( 'groups_custom_create_steps' ); // Allow plugins to add custom group creation steps ?>
- /bp-templates/bp-legacy/buddypress/groups/create.php
- do_action( 'groups_custom_create_steps' ); ?>