Posted By

fatihturan on 08/30/10


Tagged

wordpress


Versions (?)

Remove Dashboard Widgets


 / Published in: PHP
 

  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  

You need to login to post a comment.