get_post_meta_by_id( int $mid )

Get post meta data by meta ID.


Parameters Parameters

$mid

(int) (Required)


Top ↑

Return Return

(object|bool)


Top ↑

Source Source

File: wp-admin/includes/post.php

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


Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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