Skip to content

Instantly share code, notes, and snippets.

@leewillis77
Created May 4, 2017 11:17
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save leewillis77/a68f97136118cbf509a36b30f4f7bed0 to your computer and use it in GitHub Desktop.
Save leewillis77/a68f97136118cbf509a36b30f4f7bed0 to your computer and use it in GitHub Desktop.
Enable WooCommerce Google Product Feed extension feed item cache.
<?php
/*
Plugin Name: Enable WooCommerce GPF feed item cache.
Plugin URI: http://docs.woothemes.com/document/google-product-feed/
Description: Enables feed item caching in the Google Product Feed extension.
Version: 1.0
Author: Lee Willis
Author URI: https://plugins.leewillis.co.uk/
*/
add_filter( 'woocommerce_gpf_render_cache_enabled', '__return_true' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment