$options
$options : array
Class Options
$options : array
$constant_backed_ids : array|null
Cached list of option ids whose value is stored as a wp-config.php constant (the `api_key` settings fields). Null until first resolved. Populated from the `um_api_key_option_ids` option (kept in sync by {@see \um\admin\core\Admin_Settings::init_variables()}).
get_constant_backed_ids() : array
Get the list of option ids whose value is stored as a wp-config.php constant.
These are the api_key settings fields. The list is derived from the settings structure
(admin) and persisted to the um_api_key_option_ids option so it is also available on the
frontend, where the settings structure is not built. Extensions can add ids via the filter.
List of option ids.
get_constant_name(string $option_id) : string
Get the wp-config.php constant name that backs a given option.
Only api_key settings fields are constant-backed (see \um\core\is_constant_backed()); for any
other option this returns an empty string so the constant lookup in \um\core\get() is skipped.
The mapping is convention based: the uppercased option id prefixed with UM_OPTION_
(e.g. stripe_test_secret_key → UM_OPTION_STRIPE_TEST_SECRET_KEY).
| string | $option_id |
Constant name, or empty string when the option is not constant-backed.