Manage Hooks

  • This interface is used to manage hooks that already exist on your server. For information on how to add hooks, what can be hooked into, and how to write hooks, please see the documentation at https://go.cpanel.net/standardhooksdocs.

    Individual hooks are always sorted in execution order. You can reorder hooks using the up/down arrows on the left side of each hook’s table row.

  • Legend

    • Enabled
    • Blocking
    • Escalated
    • Check
    • Rollback
Cpanel
Event/Hook Stage Description/Notes Attributes Actions
▼ UAPI::Email::add_pop post This runs after the “UAPI” call “Email::add_pop”.
▼ UAPI::Email::unsuspend_login post This runs after the “UAPI” call “Email::unsuspend_login”.
▼ UAPI::Email::delete_pop post This runs after the “UAPI” call “Email::delete_pop”.
▼ Api2::Park::unpark post This runs after the “API2” call “Park::unpark”.
CCSHooks::admin_domainremove Details  Disable  Delete
▼ Api1::Email::delpop post This runs after the “API1” call “Email::delpop”.
▼ Api2::AddonDomain::deladdondomain post This runs after the “API2” call “AddonDomain::deladdondomain”.
CCSHooks::admin_domainremove Details  Disable  Delete
▼ Api1::Email::addpop post This runs after the “API1” call “Email::addpop”.
▼ Api1::Park::park post This runs after the “API1” call “Park::park”.
CCSHooks::_do_adminbin Details  Disable  Delete
▼ Api2::AddonDomain::addaddondomain post This runs after the “API2” call “AddonDomain::addaddondomain”.
CCSHooks::_do_adminbin Details  Disable  Delete
▼ Api2::Park::park post This runs after the “API2” call “Park::park”.
CCSHooks::_do_adminbin Details  Disable  Delete
▼ Api2::Email::delpop post This runs after the “API2” call “Email::delpop”.
▼ Api2::Email::addpop post This runs after the “API2” call “Email::addpop”.
▼ UAPI::SSL::install_ssl post This runs after the “UAPI” call “SSL::install_ssl”.
CCSHooks::admin_certcopy Details  Disable  Delete
▼ UAPI::SSL::delete_ssl post This runs after the “UAPI” call “SSL::delete_ssl”.
CCSHooks::admin_certremove Details  Disable  Delete
▼ Api1::Park::unpark post This runs after the “API1” call “Park::unpark”.
CCSHooks::admin_domainremove Details  Disable  Delete
▼ Api2::SubDomain::delsubdomain post This runs after the “API2” call “SubDomain::delsubdomain”.
CCSHooks::admin_domainremove Details  Disable  Delete
▼ Api2::SubDomain::addsubdomain post This runs after the “API2” call “SubDomain::addsubdomain”.
CCSHooks::_do_adminbin Details  Disable  Delete
▼ UAPI::Email::suspend_login post This runs after the “UAPI” call “Email::suspend_login”.
PkgAcct
Event/Hook Stage Description/Notes Attributes Actions
▼ Restore post This runs after the account is restored.
CCSHooks::pkgacct_restore Details  Disable  Delete
RPM::Versions
Event/Hook Stage Description/Notes Attributes Actions
▼ proftpd pre
/usr/local/cpanel/scripts/run_if_exists /usr/local/cpanel/scripts/preftpup Details  Disable  Delete
▼ proftpd post
/usr/local/cpanel/scripts/run_if_exists /usr/local/cpanel/scripts/postftpinstall Details  Disable  Delete
/usr/local/cpanel/scripts/run_if_exists /usr/local/cpanel/scripts/postftpup Details  Disable  Delete
▼ exim pre
/usr/local/cpanel/scripts/run_if_exists /usr/local/cpanel/scripts/preeximup Details  Disable  Delete
▼ exim post
/usr/local/cpanel/scripts/run_if_exists /usr/local/cpanel/scripts/posteximup Details  Disable  Delete
▼ dovecot pre
/usr/local/cpanel/scripts/run_if_exists /usr/local/cpanel/scripts/predovecotup Details  Disable  Delete
▼ dovecot post
/usr/local/cpanel/scripts/run_if_exists /usr/local/cpanel/scripts/postdovecotup Details  Disable  Delete
▼ nsd pre
/usr/local/cpanel/scripts/run_if_exists /usr/local/cpanel/scripts/prensdup Details  Disable  Delete
▼ nsd post
/usr/local/cpanel/scripts/run_if_exists /usr/local/cpanel/scripts/postnsdup Details  Disable  Delete
Whostmgr
Event/Hook Stage Description/Notes Attributes Actions
▼ Accounts::Create post This runs after an account is created.
CCSHooks::_doit Details  Disable  Delete
▼ Accounts::Remove post This runs after an account is removed.
CCSHooks::_doit Details  Disable  Delete
▼ SSL::installssl post
CCSHooks::copy_certs_for_domains Details  Disable  Delete
▼ AutoSSL::installssl post
CCSHooks::copy_certs_for_domains Details  Disable  Delete
▼ SSL::delssl post
CCSHooks::remove_certs_for_domains Details  Disable  Delete
▼ Domain::unpark post
CCSHooks::whostmgr_unpark Details  Disable  Delete
▼ Accounts::suspendacct post
CCSHooks::_doit Details  Disable  Delete
▼ Domain::park post
CCSHooks::whostmgr_park Details  Disable  Delete
▼ Accounts::Modify post This runs after an account is modified.
CCSHooks::modify Details  Disable  Delete
▼ SSL::install_service_ssl_certificate post
CCSHooks::APNS_post_install_hook Details  Disable  Delete
▼ Accounts::unsuspendacct post
CCSHooks::_doit Details  Disable  Delete
▼ Hostname::sethostname post
CCSHooks::_doit Details  Disable  Delete
scripts
Event/Hook Stage Description/Notes Attributes Actions
▼ delpop post
CCSHooks::_do_note Details  Disable  Delete
▼ addpop post
CCSHooks::_do_note Details  Disable  Delete