Control Panel Hooks
Last updated
Last updated
Before using these hooks, check the Control Panel plugin is installed.
The hooks will never run if it's not installed. Learn more here: Checking for Dependencies
Action | Execution Time |
---|---|
ControlPanel.Start
Before the Control Panel's script execution.
ControlPanel.End
At the end of the Control Panel's script execution.
ControlPanel.DashboardContentStart
Before the dashboard's main content (just below the 'Dashboard' title).
ControlPanel.DashboardContentEnd
After the dashboard's main content.
ControlPanel.NewPageStart
Before the new page screen's main content.
ControlPanel.NewPageEnd
After the new page screen's main content.
ControlPanel.PluginListStart
Before the plugin list (/panel/plugins).
ControlPanel.PluginListEnd
After the plugin list (/panel/plugins).
ControlPanel.PluginsPageStart
Before the plugin page's main content (/panel/plugins/PLUGIN)
ControlPanel.PluginsPageEnd
After the plugin page's main content (/panel/plugins/PLUGIN)
ControlPanel.UsersListStart
Before the user list (/panel/users).
ControlPanel.UsersListEnd
After the user list (/panel/users).
ControlPanel.UsersPageStart
Before the user page's main content (/panel/users/USER)
ControlPanel.UsersPageEnd
After the user page's main content (/panel/users/USER)