bp_get_message_notice_subject()

Get the subject of the current notice in the loop.

Description

Return

(string)

Source

File: bp-messages/bp-messages-template.php

1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
function bp_get_message_notice_subject() {
    global $messages_template;
 
    /**
     * Filters the subject of the current notice in the loop.
     *
     * @since BuddyPress 1.0.0
     *
     * @param string $subject Subject of the current notice in the loop.
     */
    return apply_filters( 'bp_get_message_notice_subject', $messages_template->thread->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.