gform_column_input_<form_id>_<id>_<column_index>

The Gravity Forms gform column input form id index hook.

Description

apply_filters( 'gform_column_input_<form_id>_<id>_<column_index>', (unknown) $input_info, (unknown) $instance, (unknown) $rgar, (unknown) $value, (unknown) $form_id ); 

Parameters (5)

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

Usage

To run the hook, copy the example below.
  1. $input_info = apply_filters( 'gform_column_input_{$form_id}_{$id}_{$column_index}', $input_info, $instance, $rgar, $value, $form_id ); 
  2.  
  3. if ( !empty( $input_info ) ) { 
  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_<form_id>_<id>_<column_index> callback 
  2. function filter_gform_column_input_form_id_id_column_index( $input_info, $instance, $rgar, $value, $form_id ) { 
  3. // make filter magic happen here... 
  4. return $input_info
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( "gform_column_input_{$form_id}_{$id}_{$column_index}", 'filter_gform_column_input_form_id_id_column_index', 10, 5 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( "gform_column_input_{$form_id}_{$id}_{$column_index}", 'filter_gform_column_input_form_id_id_column_index', 10, 5 ); 

Defined (1)

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

/includes/fields/class-gf-field-list.php  
  1. $input_info = gf_apply_filters( array(