9 if ( ! isset( $gravityview ) || empty( $gravityview->template ) ) {
10 gravityview()->log->error(
'{file} template loaded without context', array(
'file' => __FILE__ ) );
18 if ( $gravityview->entry->is_multi() ) {
19 $entry = $gravityview->entry->from_field( $gravityview->field );
22 $entry = $gravityview->entry->as_entry();
29 if ( ! class_exists(
'GravityView_Delete_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.
if(! class_exists( 'GravityView_Delete_Entry')) if(! GravityView_Delete_Entry::check_user_cap_delete_entry( $entry, $field_settings, $gravityview->view->ID)) $link_text
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 check_user_cap_delete_entry( $entry, $field=array(), $view=0)
checks if user has permissions to view the link or delete a specific 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()
gravityview()
The main GravityView wrapper function.