Uses
Uses | Description |
---|---|
wp-includes/meta.php: get_metadata_by_mid() | Retrieves metadata by meta ID. |
Get post meta data by meta ID.
(int) (Required)
(object|bool)
File: wp-admin/includes/post.php
function get_post_meta_by_id( $mid ) { return get_metadata_by_mid( 'post', $mid ); }
Version | Description |
---|---|
2.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_post_meta_by_id