delete_meta( int $mid ): bool

In this article

Deletes post meta data by meta ID.

Parameters

$midintrequired

Return

bool

Source

function delete_meta( $mid ) {
	return delete_metadata_by_mid( 'post', $mid );
}

Changelog

VersionDescription
1.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.