bp_get_message_thread_last_post_date_raw()

Get the unformatted date of the last post in the current thread.

Description

Return

(string)

Source

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

664
665
666
667
668
669
670
671
672
673
674
675
function bp_get_message_thread_last_post_date_raw() {
    global $messages_template;
 
    /**
     * Filters the unformatted date of the last post in the current thread.
     *
     * @since BuddyPress 2.1.0
     *
     * @param string $last_message_date Unformatted date of the last post in the current thread.
     */
    return apply_filters( 'bp_get_message_thread_last_message_date', $messages_template->thread->last_message_date );
}

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.