gform_entry_field_value

The Gravity PDF gform entry field value hook.

Description

apply_filters( 'gform_entry_field_value', (unknown) $html, (unknown) $this_field, (unknown) $this_entry, (unknown) $this_form ); 

Parameters (4)

0. $html (unknown)
The html.
1. $this_field (unknown)
The this field.
2. $this_entry (unknown)
The this entry.
3. $this_form (unknown)
The this form.

Usage

To run the hook, copy the example below.
  1. $html = apply_filters( 'gform_entry_field_value', $html, $this_field, $this_entry, $this_form ); 
  2.  
  3. if ( !empty( $html ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the gform_entry_field_value callback 
  2. function filter_gform_entry_field_value( $html, $this_field, $this_entry, $this_form ) { 
  3. // make filter magic happen here... 
  4. return $html
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'gform_entry_field_value', 'filter_gform_entry_field_value', 10, 4 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'gform_entry_field_value', 'filter_gform_entry_field_value', 10, 4 ); 

Defined (5)

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

/src/helper/fields/Field_Rating.php  
  1. $html = apply_filters( 'gform_entry_field_value', $html, $this->field, $this->entry, $this->form ); 
/src/helper/fields/Field_Rank.php  
  1. $html = apply_filters( 'gform_entry_field_value', $html, $this->field, $this->entry, $this->form ); 
/src/helper/fields/Field_Quiz.php  
  1. $value = apply_filters( 'gform_entry_field_value', $this->get_value(), $this->field, $this->entry, $this->form ); 
/src/helper/fields/Field_Likert.php  
  1. $html = apply_filters( 'gform_entry_field_value', $html, $this->field, $this->entry, $this->form ); 
/src/helper/fields/Field_Default.php  
  1. $html = apply_filters( 'gform_entry_field_value', $html, $this->field, $this->entry, $this->form );