Last active
August 2, 2019 14:22
-
-
Save Christian-Roth/090480cbb90378b22b1268dd86162b44 to your computer and use it in GitHub Desktop.
The Events Calendar – Show events with ongoing events. More date arguments in /src/Tribe/Query.php, around line 1285.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // Retrieve all events (with ongoing events) in October 2019 | |
$events = tribe_get_events( [ | |
'eventDisplay' => 'custom', | |
'ends_after' => '2019-10-01 00:01', | |
'starts_before' => '2019-10-31 23:59', | |
] ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment