GravityView  2.17
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 
7 /** Require core and mocks */
8 
9 /** @define "GRAVITYVIEW_DIR" "../" */
10 require GRAVITYVIEW_DIR . 'future/_mocks.php';
11 require GRAVITYVIEW_DIR . 'future/includes/class-gv-core.php';
12 
13 /** T-minus 3... 2.. 1... */
15 
16 /**
17  * The main GravityView wrapper function.
18  *
19  * Exposes classes and functionality via the \GV\Core instance.
20  *
21  * @api
22  * @since 2.0
23  *
24  * @return \GV\Core A global Core instance.
25  */
26 function gravityview() {
27  return \GV\Core::get();
28 }
29 
30 /** Liftoff...*/
31 add_action( 'plugins_loaded', 'gravityview', 1 );
32 
const GRAVITYVIEW_DIR
"GRAVITYVIEW_DIR" "./" The absolute path to the plugin directory, with trailing slash ...
Definition: gravityview.php:49
gravityview()
The main GravityView wrapper function.
static bootstrap()
Very early initialization.