llms_get_secure_option( string $secure_name, mixed $default = false, string $db_name = '' )
Retrieve a “secure” option.
Description Description
Checks environment variables and then constant definitions
Parameters Parameters
- $secure_name
-
(Required) Name of the option variable / constant.
- $default
-
(Optional) default value used as a fallback.
Default value: false
- $db_name
-
(Optional) option name to fallback on if no constant or environment var is found.
Default value: ''
Return Return
(mixed)
Source Source
File: includes/functions/llms-functions-options.php
Changelog Changelog
Version | Description |
---|---|
3.29.0 | Introduced. |