wzlw_get_option()
Get an option.
Looks to see if the specified setting exists and returns the default value if it doesn’t.
Since: 1.0.0
Source: includes/options-api.php line 42
Signature
function wzlw_get_option( $key = ..., $default_value = ... ): mixed;
Parameters
| Type | Name | Description |
|---|---|---|
string | $key | Option to fetch. |
mixed | $default_value | Default option. |
Returns
mixed — The option value or the default value if the option does not exist.