-
-
Save leewillis77/0c07a1c3874e9b7c9e3ada337e91d474 to your computer and use it in GitHub Desktop.
Disable additional images from being included in feed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'woocommerce_gpf_include_product_gallery_images', '__return_false' ); | |
add_filter( 'woocommerce_gpf_include_attached_images', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment