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



is_protected_meta › WordPress过滤钩子

Since3.2.0
已弃用n/a
apply_filters( 'is_protected_meta', $protected, $meta_key, $meta_type )
参数: (3)
  • (bool) $protected Whether the key is considered protected.
    Required: Yes
  • (string) $meta_key Metadata key.
    Required: Yes
  • (string) $meta_type Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', or any other object type with an associated meta table.
    Required: Yes
定义在:
文档:

Filters whether a meta key is considered protected.





源码

return apply_filters( 'is_protected_meta', $protected, $meta_key, $meta_type );