function wc_remove_some_structured_data( $markup ) { unset($markup['offers'][0]['priceSpecification']); // price removed without stock info return $markup; } add_filter( 'woocommerce_structured_data_product', 'wc_remove_some_structured_data' );
Sale!

“Heifer Please” T-Shirt

$12.49

SKU: HPT Categories: ,