Skip to content

Commit

Permalink
FB: added note to interval snippet for resetting scheduled actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mburnette committed Oct 6, 2020
1 parent 983b7a3 commit 4d657bf
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
/**
* Change feed file generation interval
* ex: every 24 hours
*
* NOTE: to reset schedule fully, Product Sync must be
* disabled, saved, and re-enabled to allow the new interval
* settings to take effect
*/

add_filter( 'wc_facebook_feed_generation_interval', function(){ return HOUR_IN_SECONDS * 24; } );

0 comments on commit 4d657bf

Please sign in to comment.