Skip to content

VIP Platform Changelog

The VIP Platform Changelog includes updates made to the functionality and behavior of the platform's tooling (i.e. VIP Dashboard, VIP-CLI), VIP MU plugins, VIP File System, caching layers, and other underlying architecture and software.

RSS 

Showing page 49 of 70

19 October 2021

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.

https://github.com/Automattic/vip-go-mu-plugins/pull/2516