I wrote this plugin a few years ago to scratch a personal itch: those red notification badges in the WordPress admin menu were more annoying than not while I was trying to focus on other things. (I knew I had updates to complete but I do them on my own schedule and didn’t want the visual noise whenever I was working on something else.)
The original version was a single-file plugin that got the job done, but only good enough. It worked by hiding badges with JavaScript after the page loaded, which meant you’d see them flash for a split second on every page. The toggle was a site-wide option, so if one admin muted notifications, every admin lost them. And the AJAX call used GET for a state-changing action, which was more of a quick hack to get it working than anything else.
So I rebuilt it from scratch. This is version 2.0.0.
Continue reading
