Recent

crp_update_option filter

crp_update_option

Filters the value before it is updated

Type: filter
Since: 2.6.0
Source: includes/options-api.php line 161

Parameters

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

Usage

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