GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
Variables
field-custom.php File Reference

Go to the source code of this file.

Variables

 $content = apply_filters( 'gravityview/fields/custom/content_before', $gravityview->field->content, $gravityview )
 
if(! class_exists( 'GFFormDisplay')) $entry = apply_filters( 'gravityview/fields/custom/entry', $entry, $form, $gravityview )
 
 $form = $gf_form->form
 
 $gf_form = isset( $gravityview->field->form_id ) ? \GV\GF_Form::by_id( $gravityview->field->form_id ) : $gravityview->view->form
 
if( $gravityview->entry->is_multi()) else
 

Variable Documentation

◆ $content

if (apply_filters('gravityview/fields/custom/decode_shortcodes', false, $content, $gravityview)) if (! empty($gravityview->field->oembed)) if (! empty($gravityview->field->wpautop)) $content = apply_filters( 'gravityview/fields/custom/content_before', $gravityview->field->content, $gravityview )
Runs Filter:
gravityview/fields/custom/content_before Modify Custom Content field output before Merge Tag processing
Since
1.6.2
Parameters
string$contentHTML content of field
Since
2.0
Parameters

Definition at line 58 of file field-custom.php.

◆ $entry

if (! class_exists('GFFormDisplay')) $entry = apply_filters( 'gravityview/fields/custom/entry', $entry, $form, $gravityview )
Runs Filter:
gravityview/fields/custom/entry Modify entry being displayed
Parameters
array$entryThe current entry being displayed.
array$formThe current form the custom content is using.

Definition at line 37 of file field-custom.php.

◆ $form

$form = $gf_form->form
Runs Filter:
gravityview/fields/custom/form Modify form that content is being pulled from
Parameters
array$formThe current form the custom content is using.
array$entryThe current entry being displayed.

Definition at line 16 of file field-custom.php.

◆ $gf_form

$gf_form = isset( $gravityview->field->form_id ) ? \GV\GF_Form::by_id( $gravityview->field->form_id ) : $gravityview->view->form

Definition at line 15 of file field-custom.php.

Referenced by GV\Mocks\GravityView_API_field_label().

◆ else

if ($gravityview->entry->is_multi()) else
Initial value:
{
$entry = $gravityview->entry->as_entry()
if(! class_exists( 'GFFormDisplay')) $entry

Definition at line 21 of file field-custom.php.