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 wp_kses_post( $this->field_before() ); if ( ! empty( $this->field['from_to'] ) ) { $args = wp_parse_args( $this->field, array( 'text_from' => esc_html__( 'From', 'streamcast' ), 'text_to' => esc_html__( 'To', 'streamcast' ), ) ); $value = wp_parse_args( $this->value, array( 'from' => '', 'to' => '', ) ); echo ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } else { echo 'field_attributes() .'/>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } echo '
'; echo wp_kses_post( $this->field_after() ); } } }