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



blog_option_{$option} › WordPress过滤钩子

Since3.5.0
已弃用n/a
apply_filters( "blog_option_{$option}", $value, $id )
参数: (2)
  • (string) $value The option value.
    Required: Yes
  • (int) $id Blog ID.
    Required: Yes
定义在:
文档:

Filters a blog option value.

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





源码

return apply_filters( "blog_option_{$option}", $value, $id );