Divi Areas Pro

DiviArea.Utils.getOption()

Fetches the value of a DiviAreaConfig option. Params Returns The option value Notes No notes

DiviArea.register()

Creates a new Divi Area from an arbitrary HTML element on the page

DiviArea.Data.sanitizeId()

Sanitize an area ID string: Return a ID with leading hash.

DiviArea.markClosed()

Mark an area as "closed" for a certain number of minutes.

DiviArea.addFilter()

Register a callback function for a certain JS filter

DiviArea.Utils.toPixel()

Converts any CSS unit to pixels - at least any CSS unit that is available in Divi Areas.

WordPress Multilingual Plugin (WPML)

✔︎ Divi Areas Pro comes with a WordPress Multilingual Plugin integration! You can use WPML (WordPress Multilingual Plugin) with Divi...

DiviAreaItem.isVisible()

Tests, if the Area is visible.

applyFilters( “init_options” )

Filters the initial JS options while preparing the JS API

DiviArea.Utils.getStyleDef()

Returns the defined CSS value for the given property of an element.