GravityView  1.22.6
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 get_delete_link( $entry, $view_id=0, $post_id=null)
Generate a nonce link with the base URL of the current View embed.
static getInstance( $passed_post=NULL)
$field_settings['content']
Definition: custom.php:27
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
gravityview_get_link( $href='', $anchor_text='', $atts=array())
Generate an HTML anchor tag with a list of supported attributes.
static get_confirm_dialog()
Get the onclick attribute for the confirm dialogs that warns users before they delete an entry...
static replace_variables( $text, $form=array(), $entry=array(), $url_encode=false, $esc_html=true, $nl2br=true, $format='html', $aux_data=array())
Alias for GravityView_Merge_Tags::replace_variables()
Definition: class-api.php:108
$entry
Definition: notes.php:27