get_registered_meta_keys
get_registered_meta_keys ( $object_type, $object_subtype = '' )
Parameters:- (string) object_type Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', or any other object type with an associated meta table.
- (string) object_subtype Optional. The subtype of the object type. Default empty string.
Returns:- (array[]) List of registered metadata args, keyed by their meta keys.
Defined at:Change Log: - Introduced in WordPress: 4.6.0
- Deprecated in WordPress: —
Description
Retrieves a list of registered metadata args for an object type, keyed by their meta keys.