Reply To: Remove metaboxes from posts

Home Forums Support Remove metaboxes from posts Reply To: Remove metaboxes from posts

#168515
Tom
Lead Developer
Lead Developer

Hi there,

Give this a try:

add_action( 'after_setup_theme','generate_remove_metaboxes' );
function generate_remove_metaboxes()
{
    remove_action('add_meta_boxes', 'generate_add_layout_meta_box');
    remove_action('add_meta_boxes', 'generate_add_footer_widget_meta_box');
    remove_action( 'add_meta_boxes', 'generate_add_de_meta_box' );
}

Let me know 🙂