Created
May 14, 2020 20:17
-
-
Save deivamagalhaes/2785ca089cbeb2450ad22e9ca24031b3 to your computer and use it in GitHub Desktop.
Increase Facebook feed generation interval to one hour
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 | |
add_filter( 'wc_facebook_feed_generation_interval', function( $interval ) { | |
return HOUR_IN_SECONDS; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment