diff --git a/includes/class-wc-structured-data.php b/includes/class-wc-structured-data.php index fcd04ff7c46..d78af9244ce 100644 --- a/includes/class-wc-structured-data.php +++ b/includes/class-wc-structured-data.php @@ -150,7 +150,7 @@ class WC_Structured_Data { */ public function output_structured_data() { $types = $this->get_data_type_for_page(); - $data = wc_clean( $this->get_structured_data( $types ) ); + $data = $this->get_structured_data( $types ); if ( $data ) { echo '';