' . __('Select weekdays to be marked as unavailable in calendars. This setting will override all other availability settings.' ,'booking') . '
'
. '' . esc_html( __( 'Unavailable', 'booking' ) ) . ''
. $unavailable_from_today_arr['booking_unavailable_days_num_from_today__hint']
.''
, 'options' => $field_options
, 'group' => 'availability'
);
// Limit available days from today ///////////////////////////////////
$this->fields = apply_filters( 'wpbc_settings_calendar_unavailable_days', $this->fields, $default_options_values );
// Extend unavailable booking dates interval - cleaning //////////////
$this->fields = apply_filters( 'wpbc_settings_calendar_extend_unavailable_interval', $this->fields, $default_options_values );
// [readable_dates]', sprintf( __('%s - dates in readable format' ,'booking'), '[readable_dates]' ) );
/* translators: 1: ... */
$this->fields['booking_confirmation_help_shortcodes']['value'][] = sprintf( $icn, '[readable_times]', sprintf( __('%s - time in readable format' ,'booking'), '[readable_times]' ) );
foreach ( $help_fields as $help_fields_key => $help_fields_value ) {
$this->fields['booking_confirmation_help_shortcodes']['value'][] = $help_fields_value;
}
// /booking-form/')
,'description_tag' => 'p'
, 'css' => 'width:100%'
, 'rows' => 5
, 'group' => 'advanced'
, 'tr_class' => 'wpbc_advanced_js_loading_settings wpbc_is_load_js_css_on_specific_pages wpbc_sub_settings_grayed'// hidden_items'
, 'is_demo_safe' => wpbc_is_this_demo()
);
$this->fields['booking_form_is_using_bs_css'] = array(
'type' => 'checkbox'
, 'default' => $default_options_values['booking_form_is_using_bs_css'] // 'On'
, 'title' => __('Use CSS BootStrap' ,'booking')
, 'label' => __('Using BootStrap CSS for the form fields' ,'booking'). ' '.__('Deprecated','booking').''
, 'description' => ''
, 'description_tag' => 'p'
, 'group' => 'advanced'
);
//$this->fields['hr_booking_is_show_system_debug_log'] = array( 'type' => 'hr', 'group' => 'advanced', 'tr_class' => 'wpbc_advanced_js_loading_settings' ); // wpbc_sub_settings_grayed hidden_items' );
// FixIn: 7.2.1.15.
$this->fields[ 'booking_is_show_system_debug_log' ] = array(
'type' => 'checkbox'
, 'default' => $default_options_values['booking_is_show_system_debug_log'] //'Off'
, 'title' => __('Show system debugging log for beta features' ,'booking')
, 'label' => __('Activate this option only for testing beta features' ,'booking')
, 'description' => ''
, 'group' => 'advanced'
, 'tr_class' => 'wpbc_advanced_js_loading_settings'// wpbc_sub_settings_grayed hidden_items'
, 'is_demo_safe' => wpbc_is_this_demo()
);
//FixIn: 10.1.1.2 //TODO: Update Text here 2024-06-16 12:57
$this->fields['booking_is_nonce_at_front_end'] = array(
'type' => 'checkbox'
, 'default' => $default_options_values['booking_is_nonce_at_front_end'] //'Off'
, 'title' => __( 'Use Nonce Fields', 'booking' )
, 'label' => __( 'Activate this option to add security tokens (nonce fields) to booking forms on the front-end. Please note that this may cause issues if you are using cache plugins or caching software.', 'booking' )
, 'description' => ''
, 'group' => 'advanced'
, 'tr_class' => 'wpbc_advanced_is_nonce' //wpbc_advanced_js_loading_settings wpbc_sub_settings_grayed hidden_items'
, 'toggle_class' => 'wpbc_toggle_danger'
, 'is_demo_safe' => wpbc_is_this_demo()
);
if ( wpbc_is_this_demo() ) {
$this->fields['booking_pages_for_load_js_css_demo'] = array( 'group' => 'advanced',
'type' => 'html',
'html' => wpbc_get_warning_text_in_demo_mode(),
'cols' => 2,
'tr_class' => 'wpbc_advanced_js_loading_settings'// wpbc_sub_settings_grayed hidden_items'
);
}
// Divider ///////////////////////////////////////////////////////////////
$this->fields['hr_calendar_before_advanced_js_loading_settings'] = array( 'type' => 'hr', 'group' => 'advanced' );
// Show settings of powered by notice
$this->fields['booking_advanced_powered_by_notice_settings'] = array(
'type' => 'html'
, 'html' =>
'+ ' . __('Show settings of powered by notice' ,'booking') . ''
. '- ' . __('Hide settings of powered by notice' ,'booking') . ''
, 'cols' => 2
, 'group' => 'advanced'
);
$this->fields['booking_is_show_powered_by_notice'] = array(
'type' => 'checkbox'
, 'default' => $default_options_values['booking_is_show_powered_by_notice'] //'On'
, 'title' => __('Powered by notice' ,'booking')
, 'label' => sprintf(__(' Turn On/Off powered by "Booking Calendar" notice under the calendar.' ,'booking'),'wpbookingcalendar.com')
, 'description' => ''
, 'group' => 'advanced'
, 'tr_class' => 'wpbc_is_show_powered_by_notice wpbc_sub_settings_grayed hidden_items'
);
$this->fields['booking_wpdev_copyright_adminpanel'] = array(
'type' => 'checkbox'
, 'default' => $default_options_values['booking_wpdev_copyright_adminpanel'] //'On'
, 'title' => __('Help and info notices' ,'booking')
, 'label' => sprintf(__(' Turn On/Off version notice and help info links at booking admin panel.' ,'booking'),'wpbookingcalendar.com')
, 'description' => ''
, 'group' => 'advanced'
, 'tr_class' => 'wpbc_is_show_powered_by_notice wpbc_sub_settings_grayed hidden_items'
, 'is_demo_safe' => wpbc_is_this_demo() // FixIn: 8.1.3.9.
);
// ' . wp_kses_post( __('User permissions for plugin menu pages' ,'booking') ) . ':