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.
Contents
Parameters
- $current_moment
-
(string|int|DateTimeInterface) The current moment, defaults to
now. - $query
-
(WP_Query) The query object being filtered.
Source
File: src/Tribe/Query.php
Changelog
| Version | Description |
|---|---|
| 6.0.2 | Introduced. |