Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Adjust Facebook for WooCommerce Feed Regeneration Interval
* Adjust the interval that the feed file is generated.
add_filter( 'wc_facebook_feed_generation_interval', 'yanco_wc_facebook_feed_generation_interval', 10, 1 );
function yanco_wc_facebook_feed_generation_interval( $interval ) {
return 60 * 30;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.