Replies: 1
I’m developing a website and trying to keep development to my local and staging environments and use Test mode during all development in these environments.
Every so often I have to pull my production database into staging/local. This will switch Test Mode to Live.
Is there anyway to force Test Mode to stay on?
WooCommerce Payments has a WCPAY_DEV_MODE constant for this purpose. I’m also setting WP_ENVIRONMENT_TYPE to staging and local which other plugins use for similar purposes.
Apologies if this is in the documentation already, but I couldn’t find it.