Update on environment types

A few days after the release of WordPress 5.5, we added support for environment types on VIP Go.

Calling the method wp_get_environment_type() will return the name of the VIP environment, exactly as you can see it in the dashboard. 

This has changed with the release of WordPress 5.5.1, as this version has dropped support for custom environment types, only allowing one of the following types to be set: production, staging, development, local.

Following this change, we are now mapping the VIP environment names to one of the standardized environment types. This means that calling wp_get_environment_type() will return an environment type as follows:

VIP environment nameWP environment type
productionproduction
develop
development
development
any other
(preprod, staging, uat…)
staging

If you have any questions about this change and how to use environment types in our code, please open a support ticket, and we’ll be happy to assist.