Skip to main content

get_environment_setting()

public static function get_environment_setting( $name )

Gets an environment setting for the current environment.

Since: 2.6.9

Source: common.php:2981

Parameters

NameTypeDefaultDescription
$namestringThe env variable name (without the "gf_env_" prefix. i.e. support_url).

Returns

  • string — Returns the environment variable.