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



is_protected_meta ›

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 Meta key.
    Required: Yes
  • (string|null) $meta_type Type of object metadata is for (e.g., comment, post, term, or user).
    Required: Yes
定义在:
文档:

Filters whether a meta key is considered protected.





源码

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