GravityView  1.19.4
The best, easiest way to display Gravity Forms entries on your website.
delete_link.php
Go to the documentation of this file.
1 <?php
2 
4 
5 $view_id = $gravityview_view->getViewId();
6 
7 extract( $gravityview_view->getCurrentField() );
8 
9 // Only show the link to logged-in users with the rigth caps.
11  return;
12 }
13 
14 $link_text = empty( $field_settings['delete_link'] ) ? __('Delete Entry', 'gravityview') : $field_settings['delete_link'];
15 
16 $link_text = apply_filters( 'gravityview_entry_link', GravityView_API::replace_variables( $link_text, $form, $entry ) );
17 
19 
20 $attributes = array(
22 );
23 
static replace_variables($text, $form=array(), $entry=array())
Alias for GravityView_Merge_Tags::replace_variables()
Definition: class-api.php:102
static check_user_cap_delete_entry($entry, $field=array(), $view_id=0)
checks if user has permissions to view the link or delete a specific entry
static get_delete_link($entry, $view_id=0, $post_id=null)
Generate a nonce link with the base URL of the current View embed.
$field_settings['content']
Definition: custom.php:27
static get_confirm_dialog()
Get the onclick attribute for the confirm dialogs that warns users before they delete an entry...
gravityview_get_link($href= '', $anchor_text= '', $atts=array())
Generate an HTML anchor tag with a list of supported attributes.
static getInstance($passed_post=NULL)
$entry
Definition: notes.php:27