bp_get_message_notice_text()
Get the text of the current notice in the loop.
Description
Return
(string)
Source
File: bp-messages/bp-messages-template.php
function bp_get_message_notice_text() {
global $messages_template;
/**
* Filters the text of the current notice in the loop.
*
* @since BuddyPress 1.0.0
*
* @param string $message Text for the current notice in the loop.
*/
return apply_filters( 'bp_get_message_notice_text', $messages_template->thread->message );
}
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.