MainWP Community

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