Created
July 9, 2020 20:49
-
-
Save mburnette/3fae615408e8950ddae706a03f532db5 to your computer and use it in GitHub Desktop.
[Change feed file generation interval] Change the interval duration of the generation of the Facebook feed file. #FacebookForWooCommerce
This file contains 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 // only copy this line if needed | |
/** | |
* Change feed file generation interval | |
*/ | |
add_filter( 'wc_facebook_feed_generation_interval', function(){ return HOUR_IN_SECONDS * 24; } ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment