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

Go to the source code of this file.

Variables

 $attributes
 
 $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_Duplicate_Entry::get_duplicate_link( $entry, $gravityview->view->ID, $post ? $post->ID : null )
 
if(! class_exists( 'GravityView_Duplicate_Entry')) if(! GravityView_Duplicate_Entry::check_user_cap_duplicate_entry( $entry, $field_settings, $gravityview->view->ID)) $link_text = \GV\Utils::get( $field_settings, 'duplicate_link', esc_html__( 'Delete Entry', 'gk-gravityview' ) )
 
global $post
 
if( $gravityview->entry->is_multi()) else
 

Variable Documentation

◆ $attributes

$attributes
Initial value:
= array(
)
static get_confirm_dialog()
Get the onclick attribute for the confirm dialogs that warns users before they duplicate an entry...

Definition at line 44 of file field-duplicate_link-html.php.

◆ $field_settings

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

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

◆ $form

$form = $gf_form->form

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

◆ $href

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

Definition at line 42 of file field-duplicate_link-html.php.

◆ $link_text

$link_text = \GV\Utils::get( $field_settings, 'duplicate_link', esc_html__( 'Delete Entry', 'gk-gravityview' ) )

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

◆ $post

global $post

Definition at line 27 of file field-duplicate_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-duplicate_link-html.php.