tribe_get_start_date gives current date issue
-
I’ve created a loop that shows the events.
$events = tribe_get_events(); if ( empty( $events ) ) { echo 'Sorry, nothing found.'; } else foreach ($events as $event) { echo get_the_title( $event ); echo tribe_get_start_date( null, false, 'j F Y' ): }But the function tribe_get_start_date always gives the current date instead of the event date.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘tribe_get_start_date gives current date issue’ is closed to new replies.