Last active
July 28, 2017 09:25
-
-
Save petrchutny/15d193cda1aacd135c4db6151e1ff6d3 to your computer and use it in GitHub Desktop.
Wordpress – Removing Dashboard Widgets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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