/ Published in: PHP

Clean up your Admin Editor view by removing unwanted meta boxes that create clutter.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Remove Meta Boxes From Admin Editor function remove_meta_boxes() { // Remove From Posts remove_meta_box('postcustom','post','normal'); remove_meta_box('trackbacksdiv','post','normal'); remove_meta_box('commentstatusdiv','post','normal'); remove_meta_box('commentsdiv','post','normal'); remove_meta_box('tagsdiv-post_tag','post','normal'); remove_meta_box('postexcerpt','post','normal'); // Remove From Pages remove_meta_box('postcustom','page','normal'); remove_meta_box('trackbacksdiv','page','normal'); remove_meta_box('commentstatusdiv','page','normal'); remove_meta_box('commentsdiv','page','normal'); } add_action('admin_init','remove_meta_boxes');
Comments
