seravo-plugin
seravo-plugin copied to clipboard
WP_ENV relation to WP native environment type (wp_get_environment_type)
This is more like a question since I'm a little lost.
In Seravo stack there is WP_ENV
constant? What is the relating to WP native wp_get_environment_type()
function?.
I'm trying to decide which one to use in theme or custom plugin to check if we are on development environment or not.
wp_get_environment_type
doesn't work properly in our environment yet. WP_ENVIRONMENT_TYPE
will be added soon and WP_ENV
can be used as an alternative until that.