1
0
Fork 0
freesewing/markdown/dev/guides/plugins/hooks/en.md
2022-02-19 08:04:25 +01:00

1.1 KiB

title order
Hooks 60

A hook is a lifecycle event. The available hooks are:

You can register a method for a hook. When the hook is triggered, your method will be called. It will receive two parameters:

  • An object relevant to the hook. See the hooks API reference for details.
  • Data passed when the hook was registered (optional)