• Resolved chathuranga

    (@chathuranga)


    Hi,

    If I have an event object like this
    $EM_Event = em_get_event($post->ID, ‘post_id’);

    Let me know how to check whether this event is a future event or not by using pure php code.
    I saw the conditional place holder {is_future}content{/is_future}, but in my case I need to put a condition in a php code, like below.

    if($EM_Event is future){
    …..
    ….here my codes …..
    .. ..
    }

    Thanks,
    Chathuranga.

    http://wordpress.org/plugins/events-manager/

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Check future events’ is closed to new replies.