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



site_option_{$option} › WordPress过滤钩子

Since4.7.0
已弃用n/a
› apply_filters( "site_option_{$option}", $value, $option, $network_id )
参数: (3)
  • () value Value of network option.
    Required: Yes
  • () option Option name.
    Required: Yes
  • () network_id ID of the network.
    Required: Yes
定义在:
文档:

Filters the value of an existing network option.

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




源码

return apply_filters( "site_option_{$option}", $value, $option, $network_id );