Change the automatic sync to every 30 minutes in WooCommerce Square

Change the automatic sync to every 30 minutes in WooCommerce Square on your child site.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'wc_square_sync_interval', function( $interval ) {
    return 30 * MINUTE_IN_SECONDS;
} );
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.