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



update_option_{$option} › WordPress Action Hooks

Since4.4.0
Deprecatedn/a
do_action( "update_option_{$option}", $old_value, $value, $option )
Parameters: (3)
  • (mixed) $old_value The old option value.
    Required: Yes
  • (mixed) $value The new option value.
    Required: Yes
  • (string) $option Option name.
    Required: Yes
Defined at:
Codex:

Fires after the value of a specific option has been successfully updated.

The dynamic portion of the hook name, $option, refers to the option name.





Source

do_action( "update_option_{$option}", $old_value, $value, $option );