gform_disable_form_settings_sanitization
The Gravity Forms gform disable form settings sanitization hook.
Description
Parameters (1)
- 0. $false (bool)
- The false.
Usage
- To run the hook, copy the example below.
- $false = apply_filters( 'gform_disable_form_settings_sanitization', $false );
- if ( !empty( $false ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the gform_disable_form_settings_sanitization callback
- function filter_gform_disable_form_settings_sanitization( $false ) {
- // make filter magic happen here...
- return $false;
- };
- // add the filter
- add_filter( 'gform_disable_form_settings_sanitization', 'filter_gform_disable_form_settings_sanitization', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'gform_disable_form_settings_sanitization', 'filter_gform_disable_form_settings_sanitization', 10, 1 );
Defined (2)
The filter is defined in the following location(s).
- /forms_model.php
- if ( apply_filters( 'gform_disable_form_settings_sanitization', false ) ) {
- if ( apply_filters( 'gform_disable_form_settings_sanitization', false ) ) {