bp_get_new_group_description()
Get the newly created group description after the creation process.
Description
Return
(mixed|void)
Source
File: bp-groups/bp-groups-template.php
function bp_get_new_group_description() {
$bp = buddypress();
$description = isset( $bp->groups->current_group->description )
? $bp->groups->current_group->description
: '';
/**
* Filters the new group description.
*
* @since BuddyPress 1.1.0
*
* @param string $name Description of the new group.
*/
return apply_filters( 'bp_get_new_group_description', $description );
}
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.