Deletes post meta data by meta ID.
Parameters
$mid
intrequired
Source
function delete_meta( $mid ) {
return delete_metadata_by_mid( 'post', $mid );
}
Changelog
Version | Description |
---|---|
1.2.0 | Introduced. |
Deletes post meta data by meta ID.
$mid
intrequiredfunction delete_meta( $mid ) {
return delete_metadata_by_mid( 'post', $mid );
}
Version | Description |
---|---|
1.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.