bsearch_get_option()
Get an option
Looks to see if the specified setting exists, returns default if not
Since: 2.2.0
Source: includes/options-api.php line 57
Signature
function bsearch_get_option( $key = ..., $default_value = ... ): mixed;
Parameters
| Type | Name | Description |
|---|---|---|
string | $key | Key of the option to fetch. |
mixed | $default_value | Default value to fetch if option is missing. |
Returns
mixed