GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
includes
admin
metaboxes
views
view-settings.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
$curr_form
=
gravityview_get_form_id
(
$post
->ID );
10
11
// View template settings
12
$current_settings
=
gravityview_get_template_settings
(
$post
->ID );
13
14
?>
15
16
<table
class
=
"form-table"
>
17
<?php
18
19
GravityView_Render_Settings::render_setting_row
(
'lightbox'
,
$current_settings
);
20
21
GravityView_Render_Settings::render_setting_row
(
'show_only_approved'
,
$current_settings
);
22
23
GravityView_Render_Settings::render_setting_row
(
'admin_show_all_statuses'
,
$current_settings
);
24
25
do_action(
'gravityview_admin_directory_settings'
,
$current_settings
);
26
?>
27
</table>
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
$post
global $post
Definition:
view-settings.php:7
gravityview_get_form_id
gravityview_get_form_id( $view_id)
Get the connected form ID from a View ID.
Definition:
connector-functions.php:197
$current_settings
$current_settings
Definition:
view-settings.php:12
$curr_form
$curr_form
Definition:
view-settings.php:9