Remove Snippet ld+json on woocommerce product pages

Hi im trying to remove, from the product pages only, the organisation schema output globally by Snippet.

This code below removes the schema from all pages:

remove_action( ‘wp_footer’, ‘tco_snippet_organization’, 10 );

But i can not figure out how to make it work only on single product pages. Can anyone help?

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.