eo_get_the_occurrences_of

This topic contains 2 replies, has 2 voices, and was last updated by  Stephen Harris 12 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3135

    Could you possibly flesh out the documentation – or post here a way to loop through the results from eo_get_the_occurrences_of() and get the start and end times/dates out ?

    Many thanks,

    Gwilym

    Gwilym
    #3137

    The way I use it in my single_page template if that can help you:

    $schedule = eo_get_the_occurrences_of( );
    foreach($schedule as $include_date) {
    echo eo_format_datetime($include_date['start'],'c');
    }

    mathieu parisot
    #3139

    Thanks Mathieu!

    @Gwilym, certainly, I’ve just updated the documentation for eo_get_the_occurrences_of() (with an example based on Mathieu’s reply).

    Stephen Harris
Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘Request A Feature’ is closed to new topics and replies.