Skip to content

Instantly share code, notes, and snippets.

@quangbahoa
Forked from leewillis77/enable-gpf-render-cache.php
Last active November 9, 2020 11:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quangbahoa/6a6880f8d0dbf64f75caf4db76d11ab1 to your computer and use it in GitHub Desktop.
Save quangbahoa/6a6880f8d0dbf64f75caf4db76d11ab1 to your computer and use it in GitHub Desktop.
Enable WooCommerce Google Product Feed extension feed item cache.
<?php
/*
Plugin Name: Product Feed Cache Fixed
Plugin URI: vncase.com
Description: Enables feed item caching in the Google Product Feed extension.
Version: 1.0
Author: Le
Author URI: https://cleon.vn
*/
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