Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/option.php | do_action | 1848 | /** * 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. * * @since 2.9.0 As "update_site_option_{$key}" * @since 3.0.0 * @since 4.7.0 The `$network_id` parameter was added. * * @param string $option Name of the network option. * @param mixed $value Current value of the network option. * @param mixed $old_value Old value of the network option. * @param int $network_id ID of the network. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $option | Name of the network option. |
mixed | $value | Current value of the network option. |
mixed | $old_value | Old value of the network option. |
int | $network_id | ID of the network. |