/**
 * Get the nicely formatted date of the last post in the current thread.
 *
 * @return string
 */
function bp_get_message_thread_last_post_date()
{
    /**
     * Filters the nicely formatted date of the last post in the current thread.
     *
     * @since 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())));
}
Esempio n. 2
0
/**
 * Get the nicely formatted date of the last post in the current thread.
 *
 * @return string
 */
function bp_get_message_thread_last_post_date()
{
    return apply_filters('bp_get_message_thread_last_post_date', bp_format_time(strtotime(bp_get_message_thread_last_post_date_raw())));
}