wzio_get_option()
Get an option or its default.
Since: 1.0.0
Source: includes/options-api.php line 38
Signature
function wzio_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.