DiviArea.doAction()

  1. Home
  2. Knowledge Base
  3. Codex
  4. JS API
  5. JS Functions
  6. DiviArea.doAction()
DiviArea.doAction(hook, ...params)

// Alias:
DiviArea.Hooks.doAction(hook, ...params)

Runs all previously registered action hooks.

Params

hook
(string, required) Hook name.
...params
(mixed, optional) Additional params to pass to the callback functions.

Returns

The function does not return anything.

Notes

No notes

Was this article helpful?

Related Articles