A WordPress-centric search engine for devs and theme authors



get_post_meta_by_id ›

Since2.1.0
Deprecatedn/a
get_post_meta_by_id ( $mid )
Parameters:
  • (int) $mid
    Required: Yes
Returns:
  • (object|bool)
Defined at:
Codex:

Get post meta data by meta ID.



Source

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