1. Home
  2. Knowledge Base
  3. Popups for Divi

Popups for Divi

DiviAreaItem.addActionOnce()

Same as addAction, but the callback is only called once and then is unhooked again

DiviArea.Data.getRealId()

Returns a sanitized area ID or false, when the ID does not belong to an Area.

DiviAreaItem.attr()

Shortcut to `jQuery.attr()` on the Area.

applyFilters( “area_general_conditions” )

Allows to add custom Area conditions right after the page loaded

doAction( “position_area” )

Action to modify the Area position on the screen.

DiviArea.applyFilters()

Applies all previously registered filter hooks and returns the filtered value. Params Returns Returns the filtered value. Notes No notes

DiviArea.Debug.verbose()

Output debug info in the JS console, when JS verbose debugging is enabled

DiviArea.Hooks.addActionOnce()

This is an alias of DiviArea.addActionOnce().

DiviArea.Hooks.removeFilter()

This is an alias of DiviArea.removeFilter().

DiviArea.Hooks.applyFilters()

This is an alias of DiviArea.applyFilters().