bp_nouveau_group_invites_create_steps( $steps = array() )
Create group invites steps
Description
Source
File: bp-templates/bp-nouveau/includes/groups/functions.php
function bp_nouveau_group_invites_create_steps( $steps = array() ) {
if ( bp_is_active( 'friends' ) && isset( $steps['group-invites'] ) ) {
// Simply change the name
$steps['group-invites']['name'] = __( 'Invite', 'buddyboss' );
return $steps;
}
// Add the create step if friends component is not active
$steps['group-invites'] = array(
'name' => __( 'Invite', 'buddyboss' ),
'position' => 30,
);
return $steps;
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 3.0.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.