Custom value for WP_ENVIRONMENT_TYPE?
-
We’re hoping to use the WP_ENVIRONMENT_TYPE setup to only allow some scripts in our staging environment.
The issue is we use different terms for our production environments since we cross over from WP to other platforms.So if our staging environment has ‘stage’ as the environment name, the WP_ENVIRONMENT_TYPE doesn’t register that as an option.
We don’t really want to change our naming system, so is there a way to set a custom environment name in the wp-config with the “define(“WP_ENVIRONMENT_TYPE”, ‘OURNAME’);” option?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom value for WP_ENVIRONMENT_TYPE?’ is closed to new replies.