bp_get_activity_feed_item_date()

Return the activity feed item date.

Description

Return

(string) The activity feed item date.

Source

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

3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
function bp_get_activity_feed_item_date() {
    global $activities_template;
 
    $retval = ! empty( $activities_template->activity->date_recorded )
        ? $activities_template->activity->date_recorded
        : '';
 
    /**
     * Filters the activity feed item date.
     *
     * @since BuddyPress 1.0.0
     *
     * @param string $retval The date for the activity feed item.
     */
    return apply_filters( 'bp_get_activity_feed_item_date', $retval );
}

Changelog

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