GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
edit_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.
11  return;
12 }
13 
14 $link_text = empty( $field_settings['edit_link'] ) ? __('Edit Entry', 'gk-gravityview') : $field_settings['edit_link'];
15 
16 $link_atts = empty( $field_settings['new_window'] ) ? '' : 'target="_blank"';
17 
18 $output = apply_filters( 'gravityview_entry_link', GravityView_API::replace_variables( $link_text, $form, $entry ) );
19 
21 
static get_edit_link( $entry, $view_id, $post_id=null, $field_values='')
The edit entry link creates a secure link with a nonce.
static getInstance( $passed_post=NULL)
static check_user_cap_edit_entry( $entry, $view=0)
checks if user has permissions to edit a specific entry
$field_settings['content']
Definition: custom.php:27
gravityview_get_link( $href='', $anchor_text='', $atts=array())
Generate an HTML anchor tag with a list of supported attributes.
if(gravityview() ->plugin->is_GF_25()) $form
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:118
$entry
Definition: notes.php:27