GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
includes
admin
metaboxes
views
single-entry.php
Go to the documentation of this file.
1
<?php
2
/**
3
* @package GravityView
4
* @subpackage Gravityview/admin/metaboxes/views
5
* @global $post
6
*/
7
global
$post
;
8
9
// View template settings
10
$current_settings
=
gravityview_get_template_settings
(
$post
->ID );
11
12
?>
13
14
<table
class
=
"form-table"
><?php
15
16
GravityView_Render_Settings::render_setting_row
(
'single_title'
,
$current_settings
);
17
18
GravityView_Render_Settings::render_setting_row
(
'back_link_label'
,
$current_settings
);
19
20
GravityView_Render_Settings::render_setting_row
(
'hide_empty_single'
,
$current_settings
);
21
22
?>
23
</table>
$post
global $post
Definition:
single-entry.php:7
$current_settings
$current_settings
Definition:
single-entry.php:10
GravityView_Render_Settings\render_setting_row
static render_setting_row( $key='', $current_settings=array(), $override_input=null, $name='template_settings[%s]', $id='gravityview_se_%s')
Output a table row for view settings.
Definition:
class.render.settings.php:528
gravityview_get_template_settings
gravityview_get_template_settings( $post_id)
Get all the settings for a View.
Definition:
connector-functions.php:234