DiviAreaItem.removeAction()

  1. Home
  2. Knowledge Base
  3. Codex
  4. JS API
  5. JS Functions
  6. DiviAreaItem.removeAction()
DiviAreaItem.removeAction(hook, callback)

Removes a previously registered action hook.

Params

hook
(string, required) The hook name, without an area-suffix.
callback
(function, optional) The callback to remove. When omitted, all action-handlers are removed from the specified hook.

Returns

The function does not return anything.

Notes

No notes

Was this article helpful?

Related Articles