Create a template file. — Package extensions use Template Toolkit (.tt2) files to display variable forms in the WHM interface.
Save these files to the /var/cpanel/packages/extensions directory.
Use the variables that the extension creates in your custom code.
WHM users can access package extensions in the following interfaces:
Add and configure extensions to hosting plans (packages) in WHM'sAdd a Package interface (WHM >> Home >> Packages >> Add a Package).
Configure a hosting plan's extensions in WHM'sEdit a Package interface (WHM >> Home >> Packages >> Edit a Package).
Configure the chosen hosting plan's extensions when you select options manually in WHM's Create a New Account interface (WHM >> Home >> Account Functions >> Create a New Account) or WHM's Modify an Accountinterface (WHM >> Home >> Account Functions >> Modify an Account).
Package extensions allow third-party developers to add custom fields with non-standard variables to packages.
Users can add extensions to packages and select settings in WHM's Add a Package interface (WHM >> Home >> Packages >> Add a Package).
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. ®2017 All rights reserved.