Uses
Uses | Description |
---|---|
wp-includes/meta.php: delete_metadata_by_mid() | Deletes metadata by meta ID. |
Delete post meta data by meta ID.
(int) (Required)
(bool)
File: wp-admin/includes/post.php
function delete_meta( $mid ) { return delete_metadata_by_mid( 'post', $mid ); }
Version | Description |
---|---|
1.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/delete_meta