Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docs/development/extension-hooks/global/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,22 @@ NOTE: **Note:** This hook fires on every ExpressionEngine request, so be mindful
return;
}


### `core_cp_boot()`

| Parameter | Type |
| --------- | ------ |
| Returns | `Void` |

Run tasks on every Control Panel request.

How it's called:

ee()->extensions->call('core_cp_boot');
if (ee()->extensions->end_script === TRUE) return;

Runs for every Control Panel request, after making sure the user is fully authorized (including MFA) and `ee()->cp` library is loaded.

### `core_template_route($uri_string)`

| Parameter | Type | Description |
Expand Down