apply_filters( 'bp_core_time_since', string $output, string $older_date, string $newer_date )

Filters the English-language representation of the time elapsed since a given date.

Description

Parameters

$output

(string) Final 'time since' string.

$older_date

(string) Earlier time from which we're calculating time elapsed.

$newer_date

(string) Unix timestamp of date to compare older time to.

Source

File: bp-core/bp-core-functions.php

Changelog

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