apply_filters( 'bp_core_time_since_pre', bool $value, string $older_date, string $newer_date )

Filters whether or not to bypass BuddyPress’ time_since calculations.

Description

Parameters

$value

Whether or not to bypass.

$older_date

Earlier time from which we're calculating time elapsed.

$newer_date

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.