bp_get_activity_comment_date_recorded_raw()

Return the 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_raw() {
		global $activities_template;

		/**
		 * Filters the raw recorded date of the activity comment currently being displayed.
		 *
		 * @since BuddyPress 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 );
	}

Changelog

Changelog
Version Description
BuddyPress 2.3.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.