get_post_meta() public static method

Retrieve post meta field for a post.
public static get_post_meta ( integer $id, string $name, string $type = null ) : mixed
$id integer Post ID.
$name string Custom field name.
$type string Custom field type (optional).
return mixed Meta value.
Beispiel #1
0
 function carbon_get_post_meta($id, $name, $type = null)
 {
     return Helper::get_post_meta($id, $name, $type);
 }