Saturn
Saturn 1.0.0
Saturn 1.0.0
  • Saturn 1.0.0
  • 😁User Guide
    • Settings
      • Maintenance Mode
      • Website Environment
    • Security
      • Good security practices
      • Security Notice
    • System Requirements and Support
    • Update your Server
  • ⚠️Troubleshooting
    • Errors
      • Database Errors
      • Saturn Errors
      • Checksum Issues
  • 🧩Plugins
    • Plugins in Saturn
    • Official Plugins
      • Control Panel
        • User Guide
        • Developer Guide
          • Control Panel Hooks
    • Marketplace Plugins
  • 💻Developer Documentation
    • Getting Started
    • Libraries and Functions
      • AccountManager
        • Permissions
        • UUID
      • DatabaseManager
        • DBMS
          • Sending Database Requests
          • Query Information
          • Database Security
        • Database Actions
      • HookManager
        • Actions
        • Runners
      • HTTP
      • LanguageManager
      • PluginManager
        • Manage Plugin Content
        • Plugin Compatability
        • Check if a plugin is loaded.
        • Fetch Manifest
      • RouteManager
      • SecurityManager
        • Cross-site Request Forgery
        • Cross-site Scripting
      • SessionManager
        • Start and End Sessions
        • Validate Sessions
        • Session Data
      • TestManager
    • Security
    • Plugins
      • How to structure a plugin
      • Manifest
      • APIs
      • Checking for Dependencies
      • Power Features
        • 💤Hibernate
    • Hooks
    • Tests and Profiling
    • Global Variables
Powered by GitBook
On this page
  1. Plugins
  2. Official Plugins
  3. Control Panel
  4. Developer Guide

Control Panel Hooks

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)

PreviousDeveloper GuideNextMarketplace Plugins

Last updated 6 months ago

🧩