bp_get_activity_comment_date_recorded_raw()

Return the date_recorded for the activity comment currently being displayed.


Return Return

(string|bool) $date_recorded Time since the activity was recorded, in the form "%s ago". False on failure.


Source Source

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

	function bp_get_activity_comment_date_recorded_raw() {
		global $activities_template;

		/**
		 * Filters the raw recorded date of the activity comment currently being displayed.
		 *
		 * @since 2.3.0
		 *
		 * @param string|bool Raw date for the activity comment currently being displayed.
		 */
		return apply_filters( 'bp_activity_comment_date_recorded', $activities_template->activity->current_comment->date_recorded );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.