bp_get_the_thread_message_time_since()
Generate the ‘Sent x hours ago’ string for the current message.
Description Description
Return Return
(string)
Source Source
File: bp-messages/bp-messages-template.php
function bp_get_the_thread_message_time_since() { /** * Filters the 'Sent x hours ago' string for the current message. * * @since 1.1.0 * * @param string $value Default text of 'Sent x hours ago'. */ return apply_filters( 'bp_get_the_thread_message_time_since', sprintf( __( 'Sent %s', 'buddypress' ), bp_core_time_since( bp_get_the_thread_message_date_sent() ) ) ); }
Changelog Changelog
Version | Description |
---|---|
1.1.0 | Introduced. |