bp_get_current_group_directory_type_message()
Generate the current group type message.
Description
Return
(string)
Source
File: bp-groups/bp-groups-template.php
function bp_get_current_group_directory_type_message() { $type_object = bp_groups_get_group_type_object( bp_get_current_group_directory_type() ); $message = sprintf( __( 'Viewing all groups that are %s', 'buddyboss' ), '<strong>' . $type_object->labels['name'] . '</strong>' ); /** * Filters the current group type message. * * @since BuddyPress 2.7.0 * * @param string $message Message to filter. */ return apply_filters( 'bp_get_current_group_type_message', $message ); }
Changelog
Version | Description |
---|---|
BuddyPress 2.7.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.