Created
February 21, 2019 14:55
-
-
Save leewillis77/3e812dd9132c5c2ecae862ec44ebc7fa to your computer and use it in GitHub Desktop.
Example of modifying item_group_id
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_feed_item_google', function( $feed_item, $product ) { | |
// Modify $feed_item->item_group_id here | |
return $feed_item; | |
}, 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment