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
5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 | 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.