get_post_meta() 공개 정적인 메소드

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).
리턴 mixed Meta value.
예제 #1
0
 function carbon_get_post_meta($id, $name, $type = null)
 {
     return Helper::get_post_meta($id, $name, $type);
 }