0

I created my own custom post, all right up here. I have also added the meta box for custom post. But I've noticed that some plugins automatically add their own METABOX my custom post type.

This can be avoided?

Kind Regars.

  • You first need to know all parameters with plugin resister meta boxes to use remove_meta_box() – Sumit Jun 4 '16 at 8:50
0

WordPress has remove_meta_box() function. You can use it to remove meta box

like

function remove_post_meta_box() {
    remove_meta_box( 'meta_box_id' , 'post' , 'normal' ); 
}
add_action( 'admin_menu' , 'remove_post_meta_box' );

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.