Recent

crp_get_optionfunction

crp_get_option()

Get an option

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

Since: 2.6.0
Source: includes/options-api.php line 49

Signature

function crp_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