How To Determine Current Action Name and Priority We all know how to attach a custom callback function to a WordPress action.But what happens, when you have multiple actions run the same function?…
Action and Filter Reference The JS API uses a hook-system that is very similar to the WordPress PHP actions and filters. To learn more about hooking into those events,…
DiviAreaItem.doAction() Runs a JS action via DiviArea.doAction() with the given hook name. This function will call two hooks: One exactly as specified in the hook, and…
DiviArea.addActionOnce() Same as addAction() but the callback is unhooked again when the action is called the next time. This function ensures, that the callback is only…
DiviArea.doAction() Runs all previously registered action hooks. Params Returns The function does not return anything. Notes No notes