Remove Dashboard Widgets


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php
  2. remove_meta_box( 'dashboard_right_now', 'dashboard', 'normal' );
  3. remove_meta_box( 'dashboard_recent_comments', 'dashboard', 'normal' );
  4. remove_meta_box( 'dashboard_incoming_links', 'dashboard', 'normal' );
  5. remove_meta_box( 'dashboard_plugins', 'dashboard', 'normal' );
  6. remove_meta_box( 'dashboard_quick_press', 'dashboard', 'side' );
  7. remove_meta_box( 'dashboard_recent_drafts', 'dashboard', 'side' );
  8. remove_meta_box( 'dashboard_primary', 'dashboard', 'side' );
  9. remove_meta_box( 'dashboard_secondary', 'dashboard', 'side' );
  10. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.