• Skip to primary navigation
  • Skip to main content
OsomCode

OsomCode

Awesome code tutorials for WordPress and Genesis

  • Subscribe
  • My account
    • Edit profile
    • Favorites
    • Update credit card
  • Login

Remove all widgets from WordPress dashboard

Find out in this tutorial how to remove all widgets from WordPress admin area using code.

You know that, as a good fan of minimalism, I recommend you to remove all the elements that you are not going to use from the Genesis and WordPress child themes.

This is especially useful for your clients, since you avoid “noise” and help them to have at hand only what they really need to modify.

In previous tutorials you learned how to make a useful ‘cleanup’ and leave only the 100% necessary elements in the WordPress customizer.

But recently some subscribers have asked me how to do the same with the elements of the WordPress admin area, where several widgets always appear by default.

Are you not going to use any of them?

In this tutorial you are going to discover how to remove all the widgets that WordPress displays on your dashboard.

Snippet to remove all widgets from WordPress dashboard

Add the following code snippet to your functionality plugin:

To see this and another 847 code snippets of this website, login or subscribe here.

It’s that easy.

From now on all widgets will disappear from the WordPress admin area.

Conclusions

Do you want to remove all widgets from WordPress dashboard? Now you know how to delete them with a simple snippet.

If you have any question, please leave it in the comments. And if you want to give me a suggestion for future snippets, please send it through the contact form.

Benefits of being a subscriber. 🙂

Admin area PHP WordPress

To leave read and make questions about this code, you can login or register.

  • About OsomCode
  • FAQ
  • Contact

Legal Notice · Privacy Policy · Cookie Policy · Terms and conditions
Copyright © 2023

Lost your password?