Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petrchutny/15d193cda1aacd135c4db6151e1ff6d3 to your computer and use it in GitHub Desktop.
Save petrchutny/15d193cda1aacd135c4db6151e1ff6d3 to your computer and use it in GitHub Desktop.
Wordpress – Removing Dashboard Widgets
// Main column (left):
$wp_meta_boxes['dashboard']['normal']['high']['dashboard_browser_nag']
$wp_meta_boxes['dashboard']['normal']['core']['dashboard_right_now']
$wp_meta_boxes['dashboard']['normal']['core']['dashboard_activity']
// Side Column (right):
$wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press']
$wp_meta_boxes['dashboard']['side']['core']['dashboard_primary']
// Then just use remove_meta_box( ) to remove these boxes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment