Description
Prevent the post_render_script() function from being triggered. Note that you are responsible for field initialization when using this filter.
Usage
add_filter( 'gform_post_render_script' , '__return_empty_string' );
Placement
This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.
See also the PHP section in this article: Where Do I Put This Code?
Since
This filter was added in Gravity Forms version 2.8.5.2.
Source Code
This filter is located in GFFormDisplay::post_render_script in form_display.php.