add_meta_box(); endif; } function add_meta_box () { add_meta_box( /*id=*/ 'inspect_post_guid_box', /*title=*/ 'Post GUID and Meta Data', /*callback=*/ array($this, 'meta_box'), /*page=*/ 'post', /*context=*/ 'normal', /*priority=*/ 'default' ); } function meta_box () { global $post; ?> ID); if (count($custom) > 0) : foreach ($custom as $key => $values) : $idx = 1; foreach ($values as $value) : print " "; print "\n"; $idx++; endforeach; endforeach; else : print "\n"; endif; print "
ID: ID); ?>
GUID: guid); ?>

Custom Fields

".esc_html($key); if ($idx > 1) : print "[$idx]"; endif; print ":
".esc_html($value)."
"; print "

No custom fields for this post.

\n"; } /* InspectPostMeta::meta_box() */ } /* class InspectPostMeta */