true, ); $settings = ( ! empty( $this->field['settings'] ) ) ? $this->field['settings'] : array(); if ( ! isset( $settings['noCalendar'] ) ) { $defaults['dateFormat'] = 'm/d/Y'; } $settings = wp_parse_args( $settings, $defaults ); echo $this->field_before(); if ( ! empty( $this->field['from_to'] ) ) { $args = wp_parse_args( $this->field, array( 'text_from' => esc_html__( 'From', 'sakurairo_csf' ), 'text_to' => esc_html__( 'To', 'sakurairo_csf' ), ) ); $value = wp_parse_args( $this->value, array( 'from' => '', 'to' => '', ) ); echo ''; echo ''; } else { echo 'field_attributes() .'/>'; } echo '
'; echo $this->field_after(); } } }