Recent

bsearch_get_option filter

bsearch_get_option

Filter the value for the option being fetched.

Type: filter
Since: 2.2.0
Source: includes/options-api.php line 76

Parameters

TypeNameDescription
mixed$valueValue of the option
mixed$keyName of the option
mixed$default_valueDefault value

Usage

add_filter( 'bsearch_get_option', function($value, $key, $default_value) {
    // ...
    return $value;
} );