unregister_meta_key


unregister_meta_key ( $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 successful. False if the meta key was not registered.
Defined at:
Change Log:
  • 4: .

Description

Unregisters a meta key from the list of registered keys.

Related Functions

register_meta, get_registered_meta_keys, unregister_post_meta, unregister_term_meta, registered_meta_key_exists

Top Google Results

User discussions

wpseek mobile