Action and Filter Reference The JS API uses a hook-system that is very similar to the WordPress PHP actions and filters. To learn more about hooking into those events,…
DiviAreaItem.applyFilters() Runs a JS filter via DiviArea.applyFilters() with the given hook name. This function will call two filters: One exactly as specified in the hook, and…
DiviArea.applyFilters() Applies all previously registered filter hooks and returns the filtered value. Params Returns Returns the filtered value. Notes No notes
applyFilters( “area_trigger_conditions” ) Allows to add custom Area conditions right before an Area is triggered
applyFilters( “ignore_close_area” ) Allows to ignore the "close_area" request and force an area to stay open
applyFilters( “area_general_conditions” ) Allows to add custom Area conditions right after the page loaded
applyFilters( “apply_z_index” ) Filters the z-index of an Area before it is applied to the DOM element.