delete_post_meta_by_key


delete_post_meta_by_key ( $post_meta_key )

Parameters:
  • (string) post_meta_key Key to search for when deleting.
Returns:
  • (bool) Whether the post meta key was deleted from the database.
Defined at:

Description

Deletes everything from post meta matching the given meta key.

Related Functions

delete_site_meta_by_key, delete_post_meta, get_post_meta_by_id, delete_site_meta, _wp_delete_post_menu_item

Top Google Results

User discussions

wpseek mobile