/** * set the loop type for week view between all day and hourly events * * @since 3.0 * @author tim@imaginesimplicty.com * @param string $loop_type * @return void */ function tribe_events_week_set_loop_type($loop_type = 'hourly') { Tribe_Events_Pro_Week_Template::reset_the_day(); Tribe_Events_Pro_Week_Template::$loop_type = $loop_type; }