get registered metaboxes by post type or post ID
Wrong Assumptions @Rarst or @Dan-Cameron answers may work, but assume that when you are viewing a post type editing page, the metaboxes for the other post type are all registered. There are different case in which that won’t happen: If metaboxes are registered using “add_meta_boxes_{$post_type}” hook, instead of the more common, generic “add_meta_boxes” they won’t … Read more