Skip to main content

remove_hook

Function
This function is defined in the registry module.
Remove a hook by ID. Simplified API.

Signature

Parameters

str
required
The hook ID returned by add_hook()

Returns

bool
True if hook was found and removed, False otherwise

Uses

  • unregister
  • get_default_registry

Source

View on GitHub

praisonaiagents/hooks/registry.py at line 404

Hooks Concept

Hook Events

Callbacks