Remove structured data from individual product pages – Problem after Woo Update
-
Hi,
I’m having problems after the last Woocommerce update.
I removed the WC Woocommerce structured data from the individual product pages using this code:
<?php
add_filter( ‚woocommerce_structured_data_product‘, ’structured_data_product_nulled‘, 10, 2 );
function structured_data_product_nulled( $markup, $product ){
if( is_product() ) {
$markup = “;
}
return $markup;
}
Unfortunately, my product pages no longer work after the update. Does anyone know what has changed in Woocommerce after the update and how I can solve the problem?
Die Seite, für die ich Hilfe brauche: [Anmelden, um den Link zu sehen]
Ansicht von 1 Antwort (von insgesamt 1)
Ansicht von 1 Antwort (von insgesamt 1)
- Das Thema „Remove structured data from individual product pages – Problem after Woo Update“ ist für neue Antworten geschlossen.