wpseek.com
A WordPress-centric search engine for devs and theme authors



pre_update_option › WordPress Filter Hooks

Since3.9.0
Deprecatedn/a
apply_filters( 'pre_update_option', $value, $option, $old_value )
Parameters: (3)
  • (mixed) $value The new, unserialized option value.
    Required: Yes
  • (string) $option Name of the option.
    Required: Yes
  • (mixed) $old_value The old option value.
    Required: Yes
Defined at:
Codex:

Filters an option before its value is (maybe) serialized and updated.





Source

$value = apply_filters( 'pre_update_option', $value, $option, $old_value );