GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
permissions.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
11 
12 ?>
13 
14 <table class="form-table striped"><?php
15 
16  /**
17  * Render additional Permissions metabox settings
18  * @since 2.9
19  * @param array $current_settings
20  */
21  do_action( 'gravityview/metaboxes/permissions_before', $current_settings );
22 
23  /**
24  * @since 1.15.2
25  */
27 
28  /**
29  * @since 2.5
30  */
32 
33  /**
34  * @since 2.0
35  */
36  if ( gravityview()->plugin->supports( \GV\Plugin::FEATURE_REST ) && ( gravityview()->plugin->settings->get( 'rest_api' ) ) ) {
38  }
39 
40  if ( gravityview()->plugin->supports( \GV\Plugin::FEATURE_REST ) && ( ! gravityview()->plugin->settings->get( 'rest_api' ) ) ) {
42  }
43 
44  /**
45  * @since 2.0
46  */
48 
49  /**
50  * @since 2.4
51  */
53 
54  /**
55  * Render additional Permissions metabox settings, like Delete Entry (if available)
56  * @since 2.9
57  * @param array $current_settings
58  */
59  do_action( 'gravityview/metaboxes/permissions_after', $current_settings );
60  ?>
61 </table>
$current_settings
Definition: permissions.php:10
global $post
Definition: permissions.php:7
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.
gravityview_get_template_settings( $post_id)
Get all the settings for a View.
gravityview()
The main GravityView wrapper function.