tribe_is_passed() function
-
In a custom plug-in, I’m trying to determine if an event has passed and then do stuff in PHP (see snippet below). I thought I could use tribe_is_past() but am not getting the results I require.
Here’s what I’m basically trying to do:
function eventscalendar_isEventPassed($post_id) {
if (tribe_is_past()) {
return true;
} else {
//do stuff
}
}
https://www.ads-software.com/extend/plugins/the-events-calendar/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘tribe_is_passed() function’ is closed to new replies.