• Resolved simaooliveira

    (@simaooliveira)


    Hi! I have a widget on my front page that fetches the 6 last events starting from today. So far I’ve been using this code, with no problems :

    $args=array(
             'numberposts'=>6,
             'event_start_after'=>'today',
             'showpastevents'=>true
            );
    $events = eo_get_events($args);

    However, it now serves no results (result is always an empty array), but there are active events, which even show up at the category page with no problems. Is this a known issue ?

    Thanks!

    https://wordpress.org/plugins/event-organiser/

Viewing 1 replies (of 1 total)
  • Thread Starter simaooliveira

    (@simaooliveira)

    Sorry, I figured it out myself – turns out i was modifying the query via pre_get_posts unwantingly.

    Sorry again!

Viewing 1 replies (of 1 total)

The topic ‘eo_get_events stopped working ?’ is closed to new replies.