wpseek.com
A WordPress-centric search engine for devs and theme authors



is_protected_meta › WordPress Filter Hooks

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 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
Defined at:
Codex:

Filters whether a meta key is considered protected.





Source

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