is_protected_meta


is_protected_meta ( $meta_key, $meta_type = '' )

Parameters:
  • (string) meta_key Metadata key.
  • (string) meta_type Optional. Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', or any other object type with an associated meta table. Default empty string.
Returns:
  • (bool) Whether the meta key is considered protected.
Defined at:

Description

Determines whether a meta key is considered protected.

Related Functions

is_protected_endpoint, is_protected_ajax_action, _deprecated_argument, populate_site_meta, register_term_meta

Top Google Results

User discussions

wpseek mobile