Skip to main content

Plugin Prehooks

Prehooks run before a controller action and can inspect or transform the request or stop processing with an error result. Their payload and allowed effects depend on the hook. Validate returned data, keep execution bounded, and fail closed for authorization-sensitive flows.