Skip to content

Instantly share code, notes, and snippets.

@leewillis77

leewillis77/functions.php Secret

Created Dec 3, 2018
Embed
What would you like to do?
Disable additional images from being included in feed
<?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