get_lsw(); $options = appointments_get_options(); if ( $options["admin_min_time"] ) { $min_time = $options["admin_min_time"]; } else { $min_time = $appointments->get_min_time(); } $min_secs = 60 * apply_filters( 'app_admin_min_time', $min_time ); /** @var string $status */ $wb = appointments_get_worker_working_hours( $status, $appointments->worker, $appointments->location ); if ( ! $wb ) { $whours = array(); } else { $whours = $wb->hours; } ?> weekdays() as $day_label => $day ): ?> $active): ?>
_time_selector( "{$status}[{$day}][start][{$idx}]", $min_secs, $selected, $appointments->worker ); ?> _time_selector( "{$status}[{$day}][end][{$idx}]", $min_secs, $selected, $appointments->worker ); ?>  
_time_selector( "{$status}[{$day}][start]", $min_secs, $selected, $appointments->worker ); ?> _time_selector( "{$status}[{$day}][end]", $min_secs, $selected, $appointments->worker ); ?>