Description
Retrieves a list of events matching the given criteria.
Usage
em_get_events($args)
Parameters
- $args | array (optional)
An array of parameters of get_posts() function with predefined defaults that can’t be changed:$defaults = array( 'post_type' => 'event', 'suppress_filters' => FALSE, 'numberposts' => -1 );
Any parameters available in the get_posts() and WP_Query function may be used for the $args array.
Return
Identical to get_posts() – a list of event (post) objects.