Recent

bsearch_update_option filter

bsearch_update_option

Filters the value before it is updated

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

Parameters

TypeNameDescription
string|bool|int$valueThe value to set the key to
string$keyThe Key to update

Usage

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