get post meta box value

$value = get_post_meta( $post->ID, ‘post-meta-box-id-name’,true);
it return the direct value in string if we remove 3rd argument true then it will
return an Array()

Leave a Comment

Your email address will not be published. Required fields are marked *