How to remove “Latest blog posts” from Rank Math dashboard widget

Dashboard widget which is added by a popular SEO plugin “SEO by Rank Math” contains one unneeded element which can be annoying if you want to keep your WordPress dashboard clean and its loading time fast. It is “Latest Blog Posts from Rank Math” section which makes a remote request and loads links to 3 latest articles from Rank Math blog.

Optional / unneeded part of the WordPress dashboard widget added by SEO plugin “SEO by Rank Math”

Luckily this part along with the links at the bottom is added via WordPress actions, which means that it can be removed the same way, but there’s one trick – these actions have been added inside a class, so a few helper functions are needed – the standard way with a simple call of “remove_action” function will not work.

1. Add a “WP Filters Extras” must-use plugin to your WordPress website


Just open the URL above, download the file and add it to the “mu-plugins” folder in your WordPress installation (typically located under – /wp-content/mu-plugins/). If there is no “mu-plugins” folder, just create it under WordPress content directory.

2. Add this code to your theme functions file or in the MU plugin file you just installed

And that’s it! After this you should see only the relevant parts of this widget (depending on what Rank Math modules you’ve enabled).

About the author
I'm a full-stack WordPress developer with a 10+ years of solid experience in the core web development languages, development processes / techniques, web security, Linux server management and with pretty good understanding about proper semantics, UX/UI, technical SEO, good design and basic knowledge of company leadership. On top of that - a distant 5+ years experience as a computer and electronics repair technician which often enables me to understand also how the things work at the hardware level.