Hide Perks from Plugins Page
🧪
So you’ve installed dozens of perks, each one more useful than the last, but you find that you’d rather not see them all listed individually on your Plugins page. No problem! This snippet will hide perks from your Plugins page.
Note: Perks will still show up on your Updates page.
Instructions
See “Where do I put snippets?” in our documentation for installation instructions.
Code
Filename: gp-hide-perks-from-plugins-page.php
“Use at your own risk” is kind of intimidating! The code looks pretty tame, is there something I’m missing? What’s the potential risk/danger? Personally, I’d love it if Spellbook was the only Gravity Wiz plugin and all other functionality got handled through it… which is almost what we have now. My plugin list is super long, but it’s mostly perks! (Which are amazing, by the way – I just don’t need to think about them!)
Hey Gordon,
Thanks for reaching out with the kind words about our Perks! Having Spellbook handle everything is a fascinating idea, and I definitely could see how that would make your plugins page a lot cleaner.
As far as that warning goes, you’re 100% correct, that might be a bit overkill for this code. The warning isn’t meant to be intimidating, that’s just our generic disclaimer we provide when a snippet we post doesn’t get the full arsenal of testing we would normally run. :)
We have a lot more “experimental” ones that definitely warrant that message, but for this one, you should have no worries!
Please just let us know via Support if it’s giving you any issues.