Multiple hooks for single event

The documentation for hooks only shows a single hook per event.
Just for clarification, can I attach multiple hooks to a single event?

i.e. something like this in my hooks.py

  doc_events = {
    "{doctype}": {
      "{event}": [
        "{some.function.hook}",
        "{some.other.function.hook}",
        "{etc}"
      ],
    }
  }

Hi @jvermette

You can’t do that. But you can write a wrapper function and call it via the hook.

-Anand.