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: - Introduced in WordPress: 3.1.3
- Deprecated in WordPress: —
Description
Determines whether a meta key is considered protected.