# Hooks

## Introduction

Hooks allow you to execute your own code when events occur inside WHMCS.

* **[Getting Started](/hooks/getting-started/)**Learn how to create a hook in WHMCS
* **[Defining Priority](/hooks/priority/)**Priorities allow you to define in which order hooks execute
* **[Module Hooks](/hooks/module-hooks/)**Learn how modules can take advantage of hooks
* **[Sample Hook](/hooks/sample-hook/)**View sample code for creating a hook
* **[Hook Index](/hooks/hook-index/)**A complete listing of all available hook points
* **[Hook Reference](/hooks-reference/)**Visit the Hook Reference Manual