The following will remove meta boxes that you do not need from the WordPress admin back end. To target a certain meta box find the boxes main div id using a page inspector and use that ID in the code below.

The example will remove two meta boxes that are not necessary from the links page.

More info can be found here: http://codex.wordpress.org/Function_Reference/remove_meta_box


// Remove extra meta boxes that we do not need from the admin interface
function remove_link_relationship_field() {
	remove_meta_box( 'linkxfndiv', 'link', 'normal' ); //removes unneeded meta box in links section
	remove_meta_box( 'linkadvanceddiv', 'link', 'normal' ); // removes meta box from links section
}
add_action( 'admin_menu' , 'remove_link_relationship_field' );

Leave a Reply

Get in Touch

Please fill out the form below and we will get back to you ASAP

  • This field is for validation purposes and should be left unchanged.