apply_filters( 'tec_events_query_current_moment', string|int|DateTimeInterface $current_moment, WP_Query $query )

Filters the value that will be used to indicate the current moment in an Event query. The query will return Events ending after the current moment.


Parameters

$current_moment

(string|int|DateTimeInterface) The current moment, defaults to now.

$query

(WP_Query) The query object being filtered.


Top ↑

Source

File: src/Tribe/Query.php


Top ↑

Changelog

Changelog
Version Description
6.0.2 Introduced.