eo_get_events doc example error

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 9 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #5226

    Hey Stephen

    I think I found an error in the documentation on page eo_get_events

    In the first example, the if shorthand has two ? instead of :

    //Check if all day, set format accordingly
    $format = ( eo_is_all_day($event->ID) ? get_option('date_format') ? get_option('date_format').' '.get_option('time_format') );


    Cheers, will fix that!

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.