Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of modifying feed description in Google Product Feed extension
<?php
function lw_woocommerce_gpf_feed_item_google( $feed_item, $product ) {
// Modify $feed_item->description here.
return $feed_item;
}
add_filter( 'woocommerce_gpf_feed_item_google', 'lw_woocommerce_gpf_feed_item_google', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment