WordPress 5.5 added native support for environment types:
https://make.wordpress.org/core/2020/07/24/new-wp_get_environment_type-function-in-wordpress-5-5/
might as well switch to that instead of the WP_ENV workaround.
|
/** |
|
* Useful idea from https://roots.io/ |
|
*/ |
|
define('WP_ENV', 'development'); |
WordPress 5.5 added native support for environment types:
https://make.wordpress.org/core/2020/07/24/new-wp_get_environment_type-function-in-wordpress-5-5/
might as well switch to that instead of the
WP_ENVworkaround.docker-wordpress-dev/src/wp-config-extra.php
Lines 29 to 32 in 52f1f25