applyFilters( "area_preparation_time" )

applyFilters( "area_preparation_time", delay );
applyFilters( "area_preparation_time_{key}", delay );

Filter the default detach delay when creating a new Area.

The dynamic part of the filter name is the sanitized Area key. See DiviAreaItem.theKey() for details.

When this filter is called, the Area was initialized, hidden, and moved to the end of the body tag. After the given delay, the Area will be detached from the document and stored in memory, until it is displayed.

This allows other scripts, like Ninja Forms, to access and initialize contents of the Area.

This filter is only available in Divi Areas Pro


(int, required) The delay (in milliseconds) to wait after initialization, before the Area should be detached from the document.
The default delay is 500ms.


Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.