gform_multiple_instances_strings
The Gravity Forms: Multiple Form Instances gform multiple instances strings hook.
Description
Parameters (1)
- 0. $strings (unknown)
- The strings.
Usage
- To run the hook, copy the example below.
- $strings = apply_filters( 'gform_multiple_instances_strings', $strings );
- if ( !empty( $strings ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the gform_multiple_instances_strings callback
- function filter_gform_multiple_instances_strings( $strings ) {
- // make filter magic happen here...
- return $strings;
- };
- // add the filter
- add_filter( 'gform_multiple_instances_strings', 'filter_gform_multiple_instances_strings', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'gform_multiple_instances_strings', 'filter_gform_multiple_instances_strings', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /gravityforms-multiple-form-instances.php
- $strings = apply_filters( 'gform_multiple_instances_strings', $strings );