delete_metadata_by_mid


delete_metadata_by_mid ( $meta_type, $meta_id )

Parameters:
  • (string) meta_type Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', or any other object type with an associated meta table.
  • (int) meta_id ID for a specific meta row.
Returns:
  • (bool) True on successful delete, false on failure.
Defined at:

Description

Deletes metadata by meta ID.

Related Functions

get_metadata_by_mid, update_metadata_by_mid, delete_metadata, delete_meta, delete_post_meta_by_key

Top Google Results

User discussions

wpseek mobile