applyFilters( "ignore_overlay_click", ignore );
Allows to ignore the click on the popup overlay: Return true to manually ignore the click.
Params
ignore
- Whether to ignore the click and do nothing.
Examples
// Ignore all clicks on the background overlay.
DiviArea.addFilter( 'ignore_overlay_click', function( ignore ) {
return true;
});
Notes
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.