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