Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $today = date( 'Y-m-d' );
- $tomorrow = date( 'Y-m-d', strtotime( 'tomorrow' ) );
- $events = tribe_get_events( array(
- 'eventDisplay' => 'custom',
- 'start_date' => $today,
- 'end_date' => $tomorrow
- ) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement