wpseek.com
WordPress开发者和主题制作者的搜索引擎



update_site_option_{$option} › WordPress动作钩子

Since4.7.0
已弃用n/a
› do_action( "update_site_option_{$option}", $option, $value, $old_value, $network_id )
参数: (4)
  • () option Name of the network option.
    Required: Yes
  • () value Current value of the network option.
    Required: Yes
  • () old_value Old value of the network option.
    Required: Yes
  • () network_id ID of the network.
    Required: Yes
定义在:
文档:

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.




源码

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