1
0
Fork 0
freesewing/markdown/dev/guides/plugins/hooks/en.md
2022-08-20 18:07:26 -04:00

1.2 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)