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



update_option › WordPress Action Hooks

Since2.9.0
Deprecatedn/a
do_action( 'update_option', $option, $old_value, $value )
Parameters: (3)
  • (string) $option Name of the option to update.
    Required: Yes
  • (mixed) $old_value The old option value.
    Required: Yes
  • (mixed) $value The new option value.
    Required: Yes
Defined at:
Codex:

Fires immediately before an option value is updated.





Source

do_action( 'update_option', $option, $old_value, $value );