• Resolved Loma13

    (@loma13)


    Hello,

    I need to know if I can get this custom query with tribe_get_events :
    start_date >= mydate AND end_date >= mydate.
    For example, if I have an event on multiday, from 16th november to 17th november, And I search all event on 16th november, I’ll have this query :
    $events = tribe_get_events( [
    ‘start_date’ => ‘2019-11-16 00:01’,
    ‘end_date’ => ‘2019-11-16 23:59’,
    ] );
    But I only have the events which are only on 16th november.
    I don’t get the one which starts on the 16th november, until the 17th november.

    Can anyone help me ?
    Thanks,

The topic ‘tribe_get_events – start_date = mydate’ is closed to new replies.