For my plugin I've built a WHM package extension as described here ( Guide to Package Extensions - Developer Documentation - cPanel Documentation). This works fine, and I'm able to 'enable' my plugin for packages.
On the front-end side of things I've built a cPanel plugin that registers itself in the way described here (Guide to cPanel Plugins - Add Plugins to Version 11.44 and Later - Developer Documentation - cPanel Documentation) with a custom group, and a number of 'icons' that link to my custom plugin pages. So far, so good.
Problem however, is that this group is showing up for EVERY cpanel user, while the feature might not be enabled for the "package" they are currently assigned. Is there a way I can only 'show' the custom group of icons whenever the user has a specific package variable set to 'y' or something?
Thanks!
On the front-end side of things I've built a cPanel plugin that registers itself in the way described here (Guide to cPanel Plugins - Add Plugins to Version 11.44 and Later - Developer Documentation - cPanel Documentation) with a custom group, and a number of 'icons' that link to my custom plugin pages. So far, so good.
Problem however, is that this group is showing up for EVERY cpanel user, while the feature might not be enabled for the "package" they are currently assigned. Is there a way I can only 'show' the custom group of icons whenever the user has a specific package variable set to 'y' or something?
Thanks!