bp_get_message_notice_post_date()
Get the post date of the current notice in the loop.
Description
Return
(string)
Source
File: bp-messages/bp-messages-template.php
1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 | function bp_get_message_notice_post_date() { global $messages_template ; /** * Filters the post date of the current notice in the loop. * * @since BuddyPress 1.0.0 * * @param string $value Formatted post date of the current notice in the loop. */ return apply_filters( 'bp_get_message_notice_post_date' , bp_format_time( strtotime ( $messages_template ->thread->date_sent ) ) ); } |
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.