remove meta-boxes from posts & pages editor screens

To help avoid any confusion from within the postspages editor screens it could be helpful to remove unused meta-boxes (custom fields, recent comments, post tags...).

function remove_extra_meta_boxes() {
	remove_meta_box( \'postcustom\' , \'post\' , \'normal\' );  custom fields for posts
	remove_meta_box( \'postcustom\' , \'page\' , \'normal\' );  custom fields for pages
	remove_meta_box( \'postexcerpt\' , \'post\' , \'normal\' );  post excerpts
	remove_meta_box( \'postexcerpt\' , \'page\' , \'normal\' );  page excerpts
	remove_meta_box( \'commentsdiv\' , \'post\' , \'normal\' );  recent comments for posts
	remove_meta_box( \'commentsdiv\' , \'page\' , \'normal\' );  recent comments for pages
	remove_meta_box( \'tagsdiv-post_tag\' , \'post\' , \'side\' );  post tags
	remove_meta_box( \'tagsdiv-post_tag\' , \'page\' , \'side\' );  page tags
	remove_meta_box( \'trackbacksdiv\' , \'post\' , \'normal\' );  post trackbacks
	remove_meta_box( \'trackbacksdiv\' , \'page\' , \'normal\' );  page trackbacks
	remove_meta_box( \'commentstatusdiv\' , \'post\' , \'normal\' );  allow comments for posts
	remove_meta_box( \'commentstatusdiv\' , \'page\' , \'normal\' );  allow comments for pages
	remove_meta_box(\'slugdiv\',\'post\',\'normal\');  post slug
	remove_meta_box(\'slugdiv\',\'page\',\'normal\');  page slug
	remove_meta_box(\'pageparentdiv\',\'page\',\'side\');  Page Parent
}
add_action( \'admin_menu\' , \'remove_extra_meta_boxes\' );