[Tutorials] Hide product prices that appear on google search
For some reason, you want to hide the product price that appears on google when customers search. You want customers to visit the product instead of flipping through when seeing the price.
Today, flatsomea-z will show you how to hide the price of a product with an extremely simple code.
You just need to copy and page the following code into functions.php.
add_filter( 'woocommerce_structured_data_product_offer', '__return_empty_array' );