A WordPress-centric search engine for devs and theme authors



is_protected_meta ›

Since3.2.0
Deprecatedn/a
apply_filters( 'is_protected_meta', $protected, $meta_key, $meta_type )
Parameters: (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
Defined at:
Codex:

Filters whether a meta key is considered protected.





Source

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