{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Defining Priority","description":"Developer documentation for the WHMCS API — the","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"defining-priority","__idx":0},"children":["Defining Priority"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Every hook function must be registered with a priority."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The priority defines the order in which hooks should run when multiple hooks are registered for the same hook point."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The priority can be any valid integer value."]}]}]},"headings":[{"value":"Defining Priority","id":"defining-priority","depth":1}],"frontmatter":{"title":"Defining Priority","seo":{"title":"Defining Priority"}},"lastModified":"2026-08-03T17:00:42.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/hooks/priority","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}