gform_column_input_content_<form_id>

The Gravity Forms gform column input content form id hook.

Description

apply_filters( 'gform_column_input_content_<form_id>', (unknown) $input, $input_info, $instance, $rgar, $value, $form_id ); 

Parameters (6)

0. $input (unknown)
The input.
1. $input_info
The input info.
2. $instance
The this.
3. $rgar
The rgar.
4. $value
The value.
5. $form_id
The form id.

Usage

To run the hook, copy the example below.
  1. $input = apply_filters( 'gform_column_input_content_{$form_id}', $input, $input_info, $instance, $rgar, $value, $form_id ); 
  2.  
  3. if ( !empty( $input ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the gform_column_input_content_<form_id> callback 
  2. function filter_gform_column_input_content_form_id( $input, $input_info, $instance, $rgar, $value, $form_id ) { 
  3. // make filter magic happen here... 
  4. return $input
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( "gform_column_input_content_{$form_id}", 'filter_gform_column_input_content_form_id', 10, 6 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( "gform_column_input_content_{$form_id}", 'filter_gform_column_input_content_form_id', 10, 6 ); 

Defined (1)

The filter is defined in the following location(s).

/includes/fields/class-gf-field-list.php  
  1. return gf_apply_filters( array(