applyFilters( "ignore_overlay_click" )

applyFilters( "ignore_overlay_click", ignore );

Allows to ignore the click on the popup overlay: Return true to manually ignore the click.


(bool, required) Whether to ignore the click and do nothing.


// Ignore all clicks on the background overlay.
DiviArea.addFilter( 'ignore_overlay_click', function( ignore ) {
    return true;


This filter is only called when a Popup is visible that can be closed. For example, when the current Popup is set to "Close on Background-Click: NO" then this filter will not be fired at all.

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