Skip to main content

Adding Hooks to WHM API1

Comments

1 comment

  • cPanelMichael
    Hello, The ability to hook into any WHM API 1 function is not currently possible. Per our documentation: The Standardized Hooks system uses the following categories for hookable events: Cpanel " The Cpanel category creates hookable events for cPanel API 1, cPanel API 2, or UAPI functions. PkgAcct " The PkgAcct category's events occur during backup creation. Passwd " The Passwd category's events occur when a WHM user changes a cPanel user's password. Stats " The Stats category's events occur during statistics processing. System " The System category's events occur during system updates or backups. Whostmgr " The Whostmgr category's events occur during WHM functions.
    We have an internal case open (HB-1394) to explore the possibility of such as feature, however there's currently no time frame on when that functionality will make it's way into the product. The current available hooks for Web Host Manager functions are listed at: Guide to Standardized Hooks - Whostmgr Functions - Software Development Kit - cPanel Documentation Feel free to open a feature request to add hook support for the specific actions you require via: Submit A Feature Request For instance, here's an example of a similar feature request we implemented: Rearrange an Account hook Thank you.
    0

Please sign in to leave a comment.