crp_update_option
Filters the value before it is updated
Type: filter
Since: 2.6.0
Source: includes/options-api.php line 161
Parameters
| Type | Name | Description |
|---|---|---|
string|bool|int |
$value |
The value to set the key to |
string |
$key |
The Key to update |
Usage
add_filter( 'crp_update_option', function($value, $key) {
// ...
return $value;
} );