Skip to content

Instantly share code, notes, and snippets.

@lukecav
Created January 10, 2018 03:22
Show Gist options
  • Save lukecav/37e187e0f6e2a0ecfdbca657e091fe12 to your computer and use it in GitHub Desktop.
Save lukecav/37e187e0f6e2a0ecfdbca657e091fe12 to your computer and use it in GitHub Desktop.
Disable Elementor overview dashboard widget in WordPress
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);
@lukecav
Copy link
Author

lukecav commented Aug 29, 2019

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