Recent

acc_update_option filter

acc_update_option

Update an option.

Type: filter
Since: 3.0.0
Source: includes/util/class-options.php line 121

Parameters

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

Usage

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