GravityView  1.19.4
The best, easiest way to display Gravity Forms entries on your website.
future/gravityview.php
Go to the documentation of this file.
1 <?php
2 /** If this file is called directly, abort. */
3 if ( ! defined( 'GRAVITYVIEW_DIR' ) )
4  die();
5 
6 /** The future branch of GravityView requires PHP 5.3+ namespaces and SPL. */
7 if ( version_compare( phpversion(), '5.3' , '<' ) )
8  return false;
9 
10 /** @define "GRAVITYVIEW_DIR" "../" Require core */
11 require GRAVITYVIEW_DIR . 'future/includes/class-gv-core.php';
12 
13 /**
14  * The main GravityView wrapper function.
15  *
16  * Exposes classes and functionality via the \GV\Core instance.
17  *
18  * @api
19  * @since 2.0
20  *
21  * @return \GV\Core A global Core instance.
22  */
23 function gravityview() {
24  return \GV\Core::get();
25 }
26 
27 /** Liftoff...*/
28 gravityview();
const GRAVITYVIEW_DIR
"GRAVITYVIEW_DIR" "./" The absolute path to the plugin directory
Definition: gravityview.php:35
gravityview()
"GRAVITYVIEW_DIR" "../" Require core