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: ''


Top ↑

Return Return

(mixed)


Top ↑

Source Source

File: includes/functions/llms-functions-options.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.29.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.