Skip to main content

Filter: gform_disable_print_form_scripts

Determine if scripts and stylesheets should be printed or enqueued when processing form shortcodes after headers have been sent.

Parameters​

NameTypeDescription
$disable_print_form_scriptboolDefaults to false.
$formarrayThe form object for the shortcode being processed.
$is_ajaxboolIndicates if ajax was enabled on the shortcode.

Since​

  • 2.0

Source​

Defined in common.php at line 4920