Divi Areas Pro

applyFilters( “set_data_expire” )

Filters the lifespan of a local data entry

doAction( “load” )

Fires after the API was fully loaded, but before it is initialized

DiviArea.Utils.getOption()

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

DiviAreaItem.isPrepared()

Tests, if the Area is fully initialized.

DiviArea.addActionOnce()

Same as addAction() but the callback is unhooked again when the action is called the next time. This function ensures,...

DiviArea.Utils.toPixel()

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

DiviAreaItem.get()

Returns a jQuery element of the current area.

doAction( “area_close_button” )

Allows customization of the default close button

DiviArea.Data.sanitizeId()

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

applyFilters( “get_option_{key}” )

Filters the value of a JS option