Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



is_protected_meta ›

Seit3.2.0
Veraltetn/v
apply_filters( 'is_protected_meta', $protected, $meta_key, $meta_type )
Parameter: (3)
  • (bool) $protected Whether the key is considered protected.
    Erforderlich: Ja
  • (string) $meta_key Metadata key.
    Erforderlich: Ja
  • (string) $meta_type Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', or any other object type with an associated meta table.
    Erforderlich: Ja
Definiert in:
Codex:

Filters whether a meta key is considered protected.





Quellcode

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