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.

No replies yet

Be first to start the conversation.

Leave a Reply

Please, do not use this form for technical support. To get support for our plugins, use the support forum.

Your email address will not be published. Required fields are marked *