'2', 'name' => esc_html__( 'Time Slot', 'all-in-one-reservation' ), 'title' => esc_html__( 'Time Slots Manager', 'all-in-one-reservation' ), 'desc' => esc_html__( 'To manage weekly/monthly time slot or particular dates', 'all-in-one-reservation' ), 'filter' => 'aior_add_in_day_settings', ); self::create_rs_tab( $nav_args ); add_filter( 'aior_add_in_day_settings', function () { $rf_data = Aior_Reservation_Form::get_settings(); $aior_builder = new Aior_Builder(); $working_days_json = isset( $rf_data['working_days'] ) ? $rf_data['working_days'] : ''; $working_days = maybe_unserialize( $working_days_json ); ?>
add_field( array( 'type' => 'text', 'id' => 'holiday_dates_' . $i . '_rest_holidays_date_from', 'name' => 'holiday_dates[' . $i . '][holidays_date_from]', 'class' => 'datepick form-control rest_holidays_date_from', 'value' => $holiday_from, ) ); ?> add_field( array( 'type' => 'text', 'id' => 'holiday_dates_' . $i . '_rest_holidays_date_to', 'name' => 'holiday_dates[' . $i . '][holidays_date_to]', 'class' => 'datepick form-control rest_holidays_date_to', 'value' => $holiday_to, ) ); ?>