bp_get_activity_comment_date_recorded()
Return the formatted date_recorded for the activity comment currently being displayed.
Description
Return
(string|bool) $date_recorded Time since the activity was recorded, in the form "%s ago". False on failure.
Source
File: bp-activity/bp-activity-template.php
function bp_get_activity_comment_date_recorded() {
/**
* Filters the recorded date of the activity comment currently being displayed.
*
* @since BuddyPress 1.5.0
*
* @param string|bool Date for the activity comment currently being displayed.
*/
return apply_filters( 'bp_activity_comment_date_recorded', bp_core_time_since( bp_get_activity_comment_date_recorded_raw() ) );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.5.0 | Introduced. |
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.