Skip to main content

has_hooks

Method
This is a method of the HookRegistry class in the hooks module.
Check if any hooks exist for an event

Signature

def has_hooks(&self, event: HookEvent) -> bool

Parameters

event
HookEvent
required
No description available.

Returns

Returns
bool
The result of the operation.