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

Go to the source code of this file.

Variables

 $field_settings = $gravityview->field->as_configuration()
 
 $form = $gf_form->form
 
 $gf_form = isset( $gravityview->field->form_id ) ? \GV\GF_Form::by_id( $gravityview->field->form_id ) : $gravityview->view->form
 
 $href = GravityView_Edit_Entry::get_edit_link( $entry, $gravityview->view->ID, $post ? $post->ID : null )
 
 $link_atts = array()
 
if(! class_exists( 'GravityView_Edit_Entry')) if(! GravityView_Edit_Entry::check_user_cap_edit_entry( $entry, $gravityview->view->ID)) $link_text = empty( $field_settings['edit_link'] ) ? __( 'Edit Entry', 'gk-gravityview' ) : $field_settings['edit_link']
 
if(! empty( $field_settings['new_window'])) $output = apply_filters( 'gravityview_entry_link', GravityView_API::replace_variables( $link_text, $form, $entry ), $gravityview )
 
global $post
 
if( $gravityview->entry->is_multi()) else
 

Variable Documentation

◆ $field_settings

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

Definition at line 25 of file field-edit_link-html.php.

◆ $form

$form = $gf_form->form

Definition at line 16 of file field-edit_link-html.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-edit_link-html.php.

◆ $href

$href = GravityView_Edit_Entry::get_edit_link( $entry, $gravityview->view->ID, $post ? $post->ID : null )

Definition at line 47 of file field-edit_link-html.php.

◆ $link_atts

$link_atts = array()

Definition at line 40 of file field-edit_link-html.php.

◆ $link_text

if (! class_exists('GravityView_Edit_Entry')) if (! GravityView_Edit_Entry::check_user_cap_edit_entry($entry, $gravityview->view->ID)) $link_text = empty( $field_settings['edit_link'] ) ? __( 'Edit Entry', 'gk-gravityview' ) : $field_settings['edit_link']

Definition at line 38 of file field-edit_link-html.php.

◆ $output

if (! empty($field_settings[ 'new_window'])) $output = apply_filters( 'gravityview_entry_link', GravityView_API::replace_variables( $link_text, $form, $entry ), $gravityview )

Definition at line 45 of file field-edit_link-html.php.

◆ $post

global $post

Definition at line 27 of file field-edit_link-html.php.

◆ else

if ($gravityview->entry->is_multi()) else
Initial value:
{
$entry = $gravityview->entry->as_entry()
$entry
Definition: notes.php:27

Definition at line 21 of file field-edit_link-html.php.