bsearch_get_option_{key}
Key specific filter for the value of the option being fetched.
Type: filter
Since: 2.2.0
Source: includes/options-api.php line 87
Parameters
| Type | Name | Description |
|---|---|---|
mixed | $value | Value of the option |
mixed | $key | Name of the option |
mixed | $default_value | Default value |
Usage
add_filter( 'bsearch_get_option_{key}', function($value, $key, $default_value) {
// ...
return $value;
} );