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