Created
January 10, 2018 03:22
-
-
Save lukecav/37e187e0f6e2a0ecfdbca657e091fe12 to your computer and use it in GitHub Desktop.
Disable Elementor overview dashboard widget in WordPress
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
function disable_elementor_dashboard_overview_widget() { | |
remove_meta_box( 'e-dashboard-overview', 'dashboard', 'normal'); | |
} | |
add_action('wp_dashboard_setup', 'disable_elementor_dashboard_overview_widget', 40); |
Thanks so much for this. Found their 'overview' intrusive and utterly unnecessary, especially since I'm a Pro customer.
Thank You
If you need a plugin option then I would go with Widget Disable.
https://wordpress.org/plugins/wp-widget-disable/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/pojome/elementor/blob/1cd78167b7c8d0e6feb77f7d0984d13500b8393c/includes/admin.php#L538
https://codex.wordpress.org/Function_Reference/remove_meta_box