JS Functions

DiviArea.applyFilters()

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

DiviArea.Hooks.applyFilters()

This is an alias of DiviArea.applyFilters().

DiviArea.Debug.table()

Display debug information in the JS console

DiviArea.Core.getContext()

Returns the base context where Divi Areas are inserted.

DiviArea.Data.getRealId()

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

DiviArea.Utils.getCssSpecificity()

Calculates the CSS Specificity of a given selector.

DiviArea.Hooks.removeFilter()

This is an alias of DiviArea.removeFilter().

DiviArea.Core.closeMainMenu()

Closes Divi´s Full-Page or Slide-In menu.

DiviArea.Hooks.addActionOnce()

This is an alias of DiviArea.addActionOnce().

DiviArea.Debug.verbose()

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