When solving this issue ( Change admin language based on user (in single-site)Change admin language based on user (in single-site) ), I did a function so that the plugin would auto-hide from all users except one (me:).
The flaw is that it only auto-hides when active.
At first, it was a mu-plugin, but I had to enable/disable it manually. It really doesn't need to run all the time, as it may slow the site (?) or even contain some sensitive manipulation of the site's language (another question mark).
But mainly the motivation is that I don't want the client activating/deactivating/deleting this plugin (is for my own use), and don't want it cluttering her own plugins list.
So, decided to split the functions in two plugins:
- One is a Must-Use used to hide the regular one.
- The other will be activated/deactivated upon necessity and is the one from the above linked issue.
But now I run into another question: how to hide one plugin from the Must-Use listing?