Your installation script should use AppConfig to register plugins with the WHM interface. The /usr/local/cpanel/bin/register_appconfig script adds plugin icons to the WHM interface automatically. It also configures the plugin's ACL requirements and other plugin variables.
Do not manually save the AppConfig configuration file to the /var/cpanel/apps/ directory.
cPanel, WebHost Manager, and WHM are registered trademarks of cPanel, Inc. for providing its computer software that facilitates the management and configuration of Internet web servers. ®2018 All rights reserved.