To create site variables using the Site factory user interface:
Click the dropdown arrow next to Login to open the Actions menu for the site.
Use the page controls to add, edit, or remove the site variables for the site.
After you add a new site variable, the system might take a few minutes to make the site variable available on the site.
You can access defined variables within the site code using the following variable:
$GLOBALS['gardens_site_settings']['flags']
```
Example array:
```
array(3) {
["external_service_api_key"]=>
string(13) "apikey-value2"
["non-secret-key"]=>
string(7) "value-2"
["external_service_api_key_non-secret"]=>
string(19) "apikey-value xx1234"
}
```If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.