Skip to main content

Filter: gform_disable_dom_parser

Allow developers to disable the DOM parser entirely.

This filter is useful for environments where performance is a priority and the DOM parser is not needed. Only recommended for advanced users who understand the implications of disabling the DOM parser.

Since

  • 2.9.1: Example: add_filter( 'gform_disable_dom_parser', '__return_true' ); // Disables the Dom parser on every page.

Source

Defined in includes/libraries/class-dom-parser.php at line 356