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: - Introduced in WordPress: 3.3.0
- Deprecated in WordPress: —
Description
Deletes metadata by meta ID.