A WordPress-centric search engine for devs and theme authors



update_site_option_{$option} ›

Since4.7.0
Deprecatedn/a
do_action( "update_site_option_{$option}", $option, $value, $old_value, $network_id )
Parameters: (4)
  • (string) $option Name of the network option.
    Required: Yes
  • (mixed) $value Current value of the network option.
    Required: Yes
  • (mixed) $old_value Old value of the network option.
    Required: Yes
  • (int) $network_id ID of the network.
    Required: Yes
Defined at:
Codex:

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

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





Source

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