When you have logged into wordpress admin dashboard, you will see WordPress Events and News like this:
Of course, you can hide it by screen options.
In this tutorial, we will introduce how to remove this widget from our admin dashboard panel.
How to remove it?
We can open our theme functions.php and add code below:
add_action('wp_dashboard_setup', 'remove_dashboard_widgets'); function remove_dashboard_widgets () { remove_meta_box('dashboard_primary', 'dashboard', 'side' ); remove_meta_box('dashboard_secondary', 'dashboard', 'side' ); }
Then you will find WordPress Events and News has been removed.