Linked Questions

Popular Questions

What's an effective way of removing all the meta boxes for a specific post type in Wordpress?

The only solution for removing metaboxes at all that I've found seems to be the remove_meta_box function, which requires an id of the metabox to be removed. I could remove all the default metaboxes like this, it would be a little fiddly but not impossible or even hard.

However, how would I go about consistently removing the meta boxes added plugins or theme functions elsewhere? Those are dynamic and unpredictable, maybe I can reliably get a summary of the meta boxes for a custom post types edit page and maybe work from there?

Thanks, B

Related Questions