get_post_meta_by_id

Advertisement

Summery Summery

Get post meta data by meta ID.

Syntax Syntax

get_post_meta_by_id( int $mid )

Parameters Parameters

$mid

(Required)

Return Return

(object|bool)

Source Source

File: wp-admin/includes/post.php

function get_post_meta_by_id( $mid ) {
	return get_metadata_by_mid( 'post', $mid );
}

Advertisement

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Advertisement

Leave a Reply