bp_get_the_thread_subject()
Get the subject of the thread currently being iterated over.
Description
Return
(string)
Source
File: bp-messages/bp-messages-template.php
function bp_get_the_thread_subject() {
global $thread_template;
/**
* Filters the subject of the thread currently being iterated over.
*
* @since BuddyPress 1.1.0
*
* @return string $last_message_subject Subject of the thread currently being iterated over.
*/
return apply_filters( 'bp_get_the_thread_subject', $thread_template->thread->last_message_subject );
}
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.