$settings Field configuration. * @var mixed $value Current saved value. * @var string $module_id Module ID. * * @package Merchant * @since 2.2.5 */ if ( ! defined( 'ABSPATH' ) ) { exit; } // All options are documented here: https://air-datepicker.com/docs $options = array( 'dateFormat' => 'MM-dd-yyyy', 'timepicker' => true, 'timeFormat' => 'hh:mm AA', 'minDate' => 'today', 'timeZone' => wp_timezone_string(), ); if ( isset( $settings['options'] ) ) { $settings['options'] = wp_parse_args( $settings['options'], $options ); } else { $settings['options'] = $options; } ?>