Skip to content

Switch from WP_ENV to WP_ENVIRONMENT_TYPE #45

@joemaller

Description

@joemaller

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');

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions