In WordPress 5.5 we introduced the new wp_get_environment_type function which allows retrieving the type of environment the current system is. We originally allowed changing the environment types, which we’ve decided is a mistake. It makes it so that plugins and themes can’t rely on any given environment being one of a limited and known list of types, and thus can’t rely on the feature.
For this reason, as of WordPress 5.5.1 it will no longer be possible to override the list of possible environment types.
Which environment types do we have?
The following environment types will be supported as