GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
Variables
field-post_id-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 ID field output template. More...
 
 $entry = $gravityview->entry->as_entry()
 
if( $gravityview->field->link_to_post &&! empty( $entry['post_id'])) else
 

Variable Documentation

◆ $display_value

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

The default post ID field output template.

$gravityview

Since
2.0

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

◆ $entry

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

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

◆ else

if ($gravityview->field->link_to_post &&! empty($entry[ 'post_id'])) else
Initial value:
{
echo esc_html( $display_value )
if(! isset( $gravityview)||empty( $gravityview->template)) $display_value
The default post ID field output template.

Definition at line 22 of file field-post_id-html.php.