Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Adding Hooks to WHM API1

Discussion in 'cPanel Developers' started by syslint, Aug 28, 2016.

Tags:
  1. syslint

    syslint Well-Known Member

    Joined:
    Oct 9, 2006
    Messages:
    262
    Likes Received:
    6
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi,

    Is there any way to add a script hook to WHM API1 . I was not able to find it in the developers documentation.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,303
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The ability to hook into any WHM API 1 function is not currently possible. Per our documentation:

    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice