WooCommerce Subscriptions – Force Staging mode

This will set all Subscription renewals to Manual renewal and disable all Subscription emails.

Here’s a quick snippet to set staging mode on WooCommerce Subscriptions:

add_filter( 'woocommerce_subscriptions_is_duplicate_site', '__return_true' );

If you’d rather want to set this up as a plugin instead, you save the gist linked below as a plugin under wp-content/plugins/ folder:

Leave a Reply

Your email address will not be published.