applyFilters( "pre_init_area", handled, area );
applyFilters( "pre_init_area_{key}", handled, area );
This filter is called after a new Divi Area was created, but before it’s fully initialized.
The dynamic part of the filter name is the sanitized Area key. See DiviAreaItem.theKey()
for details.
This filter allows you to skip the default init-logic of a new Area: When the filter returns a non-false value, the plugin assumes that the Area was initialized and will not do anything like detaching, or displaying it.
Params
handled
- Whether the initialization was handled. A non-false return value will skip the default initialization.
area
- The new area instance.
Notes
No notes