eo_get_the_occurrences

This function has been deprecated since 1.5. Use eo_get_the_occurrences_of() instead

Description

Returns an array of DateTime objects for each start date of occurrence

Usage

     <?php eo_get_the_occurrences( $post_id ); ?>     

Parameters

  • post_id (int) – Optional, the event (post) ID, (optional|”)

Return Values

  • (array|false) – Array of DateTime objects of the start date-times of occurences. False if none exist.

Change Log

Since: 1.0

See

Location

This function can be found in event-organiser/includes/deprecated.php (line: 14)