bp_get_the_thread_subject()
Get the subject of the thread currently being iterated over.
Description Description
Return Return
(string)
Source 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 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 );
}