Created
May 4, 2017 11:17
-
-
Save leewillis77/a68f97136118cbf509a36b30f4f7bed0 to your computer and use it in GitHub Desktop.
Enable WooCommerce Google Product Feed extension feed item cache.
This file contains hidden or 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 | |
/* | |
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