bp_get_message_thread_last_post_date()

Get the nicely formatted date of the last post in the current thread.

Description

Return

(string)

Source

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

688
689
690
691
692
693
694
695
696
697
698
function bp_get_message_thread_last_post_date() {
 
    /**
     * Filters the nicely formatted date of the last post in the current thread.
     *
     * @since BuddyPress 2.1.0
     *
     * @param string $value Formatted date of the last post in the current thread.
     */
    return apply_filters( 'bp_get_message_thread_last_post_date', bp_format_time( strtotime( bp_get_message_thread_last_post_date_raw() ) ) );
}

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.