delete_meta

Advertisement

Summery Summery

Delete post meta data by meta ID.

Syntax Syntax

delete_meta( int $mid )

Parameters Parameters

$mid

(int) (Required)

Return Return

(bool)

Source Source

File: wp-admin/includes/post.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
1.2.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.