bp_get_group_creation_form_action()
Get the group creation next step url.
Description
Return
(mixed|void)
Source
File: bp-groups/bp-groups-template.php
function bp_get_group_creation_form_action() {
$bp = buddypress();
if ( !bp_action_variable( 1 ) ) {
$keys = array_keys( $bp->groups->group_creation_steps );
$bp->action_variables[1] = array_shift( $keys );
}
/**
* Filters the group creation form action.
*
* @since BuddyPress 1.1.0
*
* @param string $value Action to be used with group creation form.
*/
return apply_filters( 'bp_get_group_creation_form_action', trailingslashit( bp_get_groups_directory_permalink() . 'create/step/' . bp_action_variable( 1 ) ) );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.1.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.