Implemented custom VIP user defined environment variable access
09:29:44 GMT+0000
Users of VIP will be able to commit custom environment variables in their VIP Dashboard or CLI. This change supports the retrieval of those environment variables, in WordPress: mu-plugins.
In the class: Automattic\VIP\Environment is a new method called get_var
get_var( string $key, $default_value = '' )
The result will always be a string but if the environment variable is not set previously then the return will be the $default_value.