Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
You can filter the Plugin table by using the “all_plugin” filter and remove the plugin from that list.
HOWEVER this is a terrible idea, if you are worried your client may turn the plugin off then there are several other approaches, for example using an mu-plugin. If you can’t do that or its a complex plugin you can edit the plugin_action_links filter to remove the deactivate option. Again this is not something I would recommend, but is certainly a better solution then hiding it all together.
If you are trying to hide the fact the plugin exists, or it’s name for some reason the plugin list is not the only place these sort of things show up. Your client will at some point come across the plugin and will be confused what it is.
So apart from the fact it won’t hide the plugin it will also mean that it will be hard to update it from the plugin page if its a plugin downloaded for w.org. This could mean you are potentially exposing your client to a security risk and they have no way of knowing or fixing the issue.
What plugin? And why would you want to do that?
Hi, where would I add the code “all_plugin” Tim Nash?
Thanks
Second request from Moderator.
What plugin? And why would you want to do that?
prangers87: There is a plugin that does what you are trying to do. It is appropriately titled Hide Plugins.
Although we encourage you not to use this plugin to take advantage of your client.
Also, we appreciate it when you answer the support forum volunteers when they ask you questions. It makes support harder when the person keeps avoiding the questions and it is also very suspicious.
Anyway, (trusting that you are not using this to take advantage of your client) hopefully the plugin works.