GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
Variables
field-delete_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_Delete_Entry::get_delete_link( $entry, $gravityview->view->ID, $post ? $post->ID : null )
 
if(! class_exists( 'GravityView_Delete_Entry')) if(! GravityView_Delete_Entry::check_user_cap_delete_entry( $entry, $field_settings, $gravityview->view->ID)) $link_text = empty( $field_settings['delete_link'] ) ? __( 'Delete Entry', 'gk-gravityview' ) : $field_settings['delete_link']
 
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 delete an entry...

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

◆ $field_settings

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

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

◆ $form

$form = $gf_form->form

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

◆ $href

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

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

◆ $link_text

$link_text = empty( $field_settings['delete_link'] ) ? __( 'Delete Entry', 'gk-gravityview' ) : $field_settings['delete_link']

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

◆ $post

global $post

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