unregister_post_meta


unregister_post_meta ( $post_type, $meta_key )

Parameters:
  • (string) post_type Post type the meta key is currently registered for. Pass an empty string if the meta key is registered across all existing post types.
  • (string) meta_key The meta key to unregister.
Returns:
  • (bool) True on success, false if the meta key was not previously registered.
Defined at:

Description

Unregisters a meta key for posts.

Related Functions

register_post_meta, unregister_post_type, unregister_term_meta, register_post_status, register_meta

Top Google Results

User discussions

wpseek mobile