MainWP Community

Remove product pricing from structured data in WooCommerce

Remove product pricing from structured data in WooCommerce on your child site.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'woocommerce_structured_data_product_offer', '__return_empty_array' );
1 Like