成功更新网络选项的值后触发。
原型
do_action( 'update_site_option', string $option, mixed $value, mixed $old_value, int $network_id )
参数
$option
(string)
网络选项的名称。
$value
(mixed)
网络选项的当前值。
$old_value
(mixed)
网络选项的旧值。
$network_id
(int)
网络ID。
源文件
路径:wp-includes/option.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/update_site_option/