Displaying values from related field – if empty shows current post type’s link and title
get_post_meta() should only return false under a couple of circumstances: 269 function get_metadata($meta_type, $object_id, $meta_key = ”, $single = false) { 270 if ( !$meta_type ) 271 return false; 272 273 if ( !$object_id = absint($object_id) ) 274 return false; https://core.trac.wordpress.org/browser/tags/3.8.1/src/wp-includes/meta.php#L269 I don’t see how $meta_type could be wrong since it is hard-coded into get_post_meta(): … Read more