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.
Returns:
  • (string[]) List of registered meta keys.
Defined at:
Change Log:
  • 4: .

Description

Retrieves a list of registered meta keys for an object type.

Related Functions

get_registered_metadata, registered_meta_key_exists, unregister_meta_key, get_registered_settings, get_registered_theme_features

Top Google Results

User discussions

wpseek mobile