Created
December 9, 2016 19:18
-
-
Save ArtfulPussycat/05323943abf92bba5e4d0dc5b83731c0 to your computer and use it in GitHub Desktop.
Hide "News from Modern Tribe" Admin dashboard panel
This file contains 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
/* | |
* Remove "News from Modern Tribe" widget from dashboard | |
*/ | |
function remove_tribe_dashboard_widget() { | |
remove_meta_box('tribe_dashboard_widget', 'dashboard', 'normal'); | |
} | |
add_action('wp_dashboard_setup', 'remove_tribe_dashboard_widget'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment