bp_get_current_member_type_message()
Generate the current profile type message.
Description
Return
(string)
Source
File: bp-members/bp-members-template.php
function bp_get_current_member_type_message() {
$type_object = bp_get_member_type_object( bp_get_current_member_type() );
$message = sprintf( __( 'Viewing all members who are %s', 'buddyboss' ), '<strong>' . $type_object->labels['name'] . '</strong>' );
/**
* Filters the current profile type message.
*
* @since BuddyPress 2.3.0
*
* @param string $message Message to filter.
*/
return apply_filters( 'bp_get_current_member_type_message', $message );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 2.3.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.