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
Api1::Park::park post This runs after the “API1” call “Park::park”.
CCSHooks::_do_adminbin Details  Disable  Delete
NginxHooks::_do_adminbin Details  Disable  Delete
Api2::SubDomain::addsubdomain post This runs after the “API2” call “SubDomain::addsubdomain”.
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
CCSHooks::_do_adminbin Details  Disable  Delete
NginxHooks::_do_adminbin Details  Disable  Delete
Api2::AddonDomain::addaddondomain post This runs after the “API2” call “AddonDomain::addaddondomain”.
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
CCSHooks::_do_adminbin Details  Disable  Delete
NginxHooks::_do_adminbin Details  Disable  Delete
UAPI::Email::add_pop post This runs after the “UAPI” call “Email::add_pop”.
UAPI::LangPHP::php_ini_set_user_basic_directives post This runs after the “UAPI” call “LangPHP::php_ini_set_user_basic_directives”.
NginxHooks::_do_adminbin Details  Disable  Delete
Api1::Htaccess::set_index post This runs after the “API1” call “Htaccess::set_index”.
NginxHooks::_do_adminbin Details  Disable  Delete
UAPI::SSL::toggle_ssl_redirect_for_domains post This runs after the “UAPI” call “SSL::toggle_ssl_redirect_for_domains”.
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
NginxHooks::_do_adminbin Details  Disable  Delete
UAPI::SSL::delete_ssl post This runs after the “UAPI” call “SSL::delete_ssl”.
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
CCSHooks::admin_certremove Details  Disable  Delete
NginxHooks::_do_adminbin Details  Disable  Delete
Api1::Htaccess::del_user post This runs after the “API1” call “Htaccess::del_user”.
NginxHooks::_do_adminbin Details  Disable  Delete
Api2::Park::unpark post This runs after the “API2” call “Park::unpark”.
CCSHooks::admin_domainremove Details  Disable  Delete
NginxHooks::_do_adminbin Details  Disable  Delete
Api1::Park::unpark post This runs after the “API1” call “Park::unpark”.
CCSHooks::admin_domainremove Details  Disable  Delete
NginxHooks::_do_adminbin Details  Disable  Delete
Api1::Htaccess::set_protect post This runs after the “API1” call “Htaccess::set_protect”.
NginxHooks::_do_adminbin Details  Disable  Delete
Api2::Park::park post This runs after the “API2” call “Park::park”.
CCSHooks::_do_adminbin Details  Disable  Delete
NginxHooks::_do_adminbin Details  Disable  Delete
UAPI::Email::delete_pop post This runs after the “UAPI” call “Email::delete_pop”.
Api2::AddonDomain::deladdondomain post This runs after the “API2” call “AddonDomain::deladdondomain”.
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
CCSHooks::admin_domainremove Details  Disable  Delete
NginxHooks::_do_adminbin Details  Disable  Delete
UAPI::LangPHP::php_set_vhost_versions post This runs after the “UAPI” call “LangPHP::php_set_vhost_versions”.
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
NginxHooks::_do_adminbin Details  Disable  Delete
UAPI::WordPressInstanceManager::start_scan post This runs after the “UAPI” call “WordPressInstanceManager::start_scan”.
NginxHooks::_do_adminbin Details  Disable  Delete
UAPI::SSL::install_ssl post This runs after the “UAPI” call “SSL::install_ssl”.
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
CCSHooks::admin_certcopy Details  Disable  Delete
NginxHooks::_do_adminbin Details  Disable  Delete
UAPI::Mime::add_redirect post This runs after the “UAPI” call “Mime::add_redirect”.
NginxHooks::_do_adminbin Details  Disable  Delete
Api1::Htaccess::set_pass post This runs after the “API1” call “Htaccess::set_pass”.
NginxHooks::_do_adminbin Details  Disable  Delete
UAPI::Email::suspend_login post This runs after the “UAPI” call “Email::suspend_login”.
UAPI::Team::reinstate_team_user post This runs after the “UAPI” call “Team::reinstate_team_user”.
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
Api2::SubDomain::changedocroot post This runs after the “API2” call “SubDomain::changedocroot”.
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
UAPI::LangPHP::php_ini_set_user_content post This runs after the “UAPI” call “LangPHP::php_ini_set_user_content”.
NginxHooks::_do_adminbin Details  Disable  Delete
UAPI::Mime::delete_redirect post This runs after the “UAPI” call “Mime::delete_redirect”.
NginxHooks::_do_adminbin Details  Disable  Delete
UAPI::SubDomain::addsubdomain post This runs after the “UAPI” call “SubDomain::addsubdomain”.
NginxHooks::_do_adminbin Details  Disable  Delete
Api1::cPAddons::mainpg post This runs after the “API1” call “cPAddons::mainpg”.
NginxHooks::_do_wordpress Details  Disable  Delete
Api2::SubDomain::delsubdomain post This runs after the “API2” call “SubDomain::delsubdomain”.
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
CCSHooks::admin_domainremove Details  Disable  Delete
NginxHooks::_do_adminbin Details  Disable  Delete
UAPI::Email::unsuspend_login post This runs after the “UAPI” call “Email::unsuspend_login”.
Api2::Email::addpop post This runs after the “API2” call “Email::addpop”.
UAPI::Team::suspend_team_user post This runs after the “UAPI” call “Team::suspend_team_user”.
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
UAPI::Team::remove_team_user post This runs after the “UAPI” call “Team::remove_team_user”.
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
UAPI::Team::edit_team_user post This runs after the “UAPI” call “Team::edit_team_user”.
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
Api1::Email::delpop post This runs after the “API1” call “Email::delpop”.
Api2::Email::delpop post This runs after the “API2” call “Email::delpop”.
Api1::Email::addpop post This runs after the “API1” call “Email::addpop”.
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
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
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
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
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
Stats
Event/Hook Stage Description/Notes Attributes Actions
RunAll post This runs after cpanellogd runs for all users.
NginxHooks::_reload_logs Details  Disable  Delete
RunUser post This runs after an individual user’s statistics are processed.
NginxHooks::_do_reload_logs_adminbin Details  Disable  Delete
Whostmgr
Event/Hook Stage Description/Notes Attributes Actions
Accounts::SiteIP::set post
NginxHooks::_rebuild_user Details  Disable  Delete
Accounts::suspendacct post
CCSHooks::_doit Details  Disable  Delete
NginxHooks::_just_clear_user_cache Details  Disable  Delete
Domain::unpark post
CCSHooks::whostmgr_unpark Details  Disable  Delete
NginxHooks::_rebuild_user Details  Disable  Delete
AutoSSL::installssl post
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
CCSHooks::copy_certs_for_domains Details  Disable  Delete
NginxHooks::_rebuild_user Details  Disable  Delete
Lang::PHP::set_system_default_version post
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
NginxHooks::_possible_php_fpm Details  Disable  Delete
TweakSettings::Basic post
NginxHooks::_rebuild_config_all Details  Disable  Delete
SSL::installssl post
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
CCSHooks::copy_certs_for_domains Details  Disable  Delete
NginxHooks::_rebuild_user Details  Disable  Delete
Hostname::change post
NginxHooks::_rebuild_config_all Details  Disable  Delete
Accounts::Create post This runs after an account is created.
CCSHooks::_doit Details  Disable  Delete
NginxHooks::_rebuild_user Details  Disable  Delete
Accounts::Remove pre This runs before an account is removed.
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
Accounts::Remove post This runs after an account is removed.
CCSHooks::_doit Details  Disable  Delete
NginxHooks::_rebuild_config_all Details  Disable  Delete
SSL::install_service_ssl_certificate post
CCSHooks::APNS_post_install_hook Details  Disable  Delete
Lang::PHP::set_vhost_versions post
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
NginxHooks::_possible_php_fpm Details  Disable  Delete
SSL::delssl post
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
CCSHooks::remove_certs_for_domains Details  Disable  Delete
NginxHooks::_rebuild_user Details  Disable  Delete
Accounts::Modify post This runs after an account is modified.
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event Details  Disable  Delete
CCSHooks::modify Details  Disable  Delete
NginxHooks::_rebuild_config_all Details  Disable  Delete
Domain::park post
CCSHooks::whostmgr_park Details  Disable  Delete
NginxHooks::_rebuild_user Details  Disable  Delete
Accounts::unsuspendacct post
CCSHooks::_doit Details  Disable  Delete
NginxHooks::_just_clear_user_cache Details  Disable  Delete
TweakSettings::Main post
NginxHooks::_rebuild_config_all Details  Disable  Delete
Lang::PHP::ini_set_directives post
NginxHooks::_possible_php_fpm Details  Disable  Delete
Lang::PHP::ini_set_content post
NginxHooks::_possible_php_fpm Details  Disable  Delete
PipedLogConfiguration post
NginxHooks::_rebuild_config_all Details  Disable  Delete
Accounts::rearrangeacct post
/usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event 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
build_apache_conf post
NginxHooks::_rebuild_config_all Details  Disable  Delete
php_fpm_config post
NginxHooks::_php_fpm_config Details  Disable  Delete
addpop post
CCSHooks::_do_note Details  Disable  Delete

Interface Analytics

cPanel, L.L.C. uses Interface Analytics to help us understand how our customers use cPanel & WHM. We take your privacy very seriously, and you can stop data collection at any time. Find out more about Interface Analytics.

Will you allow Interface Analytics data collection for your account?