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

Go to the source code of this file.

Variables

if(! isset( $gravityview)||empty( $gravityview->template)) $display_value = $gravityview->display_value
 The default post_content field output template. More...
 
 $entry = $gravityview->entry->as_entry()
 
 $field_settings = $gravityview->field->as_configuration()
 
if(! empty( $field_settings['dynamic_data']) &&! empty( $entry['post_id'])) else
 

Variable Documentation

◆ $display_value

if (! isset($gravityview)||empty($gravityview->template)) $display_value = $gravityview->display_value

The default post_content field output template.

$gravityview

Since
2.0

Definition at line 14 of file field-post_content-html.php.

◆ $entry

$entry = $gravityview->entry->as_entry()

Definition at line 15 of file field-post_content-html.php.

◆ $field_settings

$field_settings = $gravityview->field->as_configuration()

Definition at line 16 of file field-post_content-html.php.

◆ else

if (! empty($field_settings[ 'dynamic_data']) &&! empty($entry[ 'post_id'])) else
Initial value:
{
if(! isset( $gravityview)||empty( $gravityview->template)) $display_value
The default post_content field output template.

Backup!

Prevent the old the_content filter from running.

Restore!

Definition at line 43 of file field-post_content-html.php.