eo_is_all_day

Description

Return true is the event is an all day event.

Usage

     <?php eo_is_all_day( $post_id ); ?>     

Parameters

  • post_id (int) – The event (post) ID. Uses current event if empty (optional|”)

Return Values

  • (boolean) – True if event runs all day, or false otherwise

Change Log

Since: 1.2

Location

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