Recent

wherego_get_optionfunction

wherego_get_option()

Get an option.

Looks to see if the specified setting exists, returns default if not.

Since: 2.1.0
Source: includes/options-api.php line 44

Signature

function wherego_get_option( $key = ..., $default_value = ... ): mixed;

Parameters

Type Name Description
string $key Option to fetch.
mixed $default_value Default option.

Returns

mixed