Created
March 18, 2021 22:48
-
-
Save ventouris/6f1afdb52d5d32b3cec3506ca97856c1 to your computer and use it in GitHub Desktop.
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
/* | |
* Adjust the interval that the feed file is generated. | |
*/ | |
function sv_wc_facebook_feed_generation_interval( $interval ) { | |
// return the time in seconds that the interval should run e.g. 180 minutes: | |
return 60 * 180; | |
} | |
add_filter( 'wc_facebook_feed_generation_interval', 'sv_wc_facebook_feed_generation_interval', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment