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



add_site_option ›

Since4.7.0
已弃用n/a
do_action( 'add_site_option', $option, $value, $network_id )
参数: (3)
  • (string) $option Name of the network option.
    Required: Yes
  • (mixed) $value Value of the network option.
    Required: Yes
  • (int) $network_id ID of the network.
    Required: Yes
定义在:
文档:

Fires after a network option has been successfully added.





源码

do_action( 'add_site_option', $option, $value, $network_id );