registered_meta_key_exists


registered_meta_key_exists ( $object_type, $meta_key, $object_subtype = '' )

Parameters:
  • (string) $object_type The type of object.
  • (string) $meta_key The meta key.
  • (string) $object_subtype Optional. The subtype of the object type.
Returns:
  • (bool) True if the meta key is registered to the object type and, if provided, the object subtype. False if not.
Defined at:
Change Log:
  • 4: .

Description

Checks if a meta key is registered.

Related Functions

get_registered_meta_keys, unregister_meta_key, register_meta, _wp_register_meta_args_whitelist, get_registered_metadata

Top Google Results

User discussions

wpseek mobile