GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
Public Member Functions | Static Public Member Functions | Data Fields | Private Member Functions | Static Private Attributes
Core Class Reference

If this file is called directly, abort. More...

Public Member Functions

 __clone ()
 __get ( $key)
 Wrapper magic. More...
 __set ( $key, $value)
 __wakeup ()

Static Public Member Functions

static bootstrap ()
 Very early initialization. More...
static get ()
 Get the global instance of . More...

Data Fields


Private Member Functions

 __construct ()
 Bootstrap. More...
 init ()
 Early initialization. More...

Static Private Attributes

static $__instance = null

Detailed Description

If this file is called directly, abort.

The core GravityView API.

Returned by the wrapper gravityview() global function, exposes all the required public functionality and classes, sets up global state depending on current request context, etc.

Definition at line 16 of file class-gv-core.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )



Definition at line 73 of file class-gv-core.php.

Member Function Documentation

◆ __clone()

__clone ( )

Definition at line 249 of file class-gv-core.php.

◆ __get()

__get (   $key)

Wrapper magic.

Making developers happy, since 2017.

Definition at line 258 of file class-gv-core.php.

◆ __set()

__set (   $key,

Definition at line 270 of file class-gv-core.php.

◆ __wakeup()

__wakeup ( )

Definition at line 251 of file class-gv-core.php.

◆ bootstrap()

static bootstrap ( )

Very early initialization.

Activation handlers, rewrites, post type registration.

Definition at line 63 of file class-gv-core.php.

◆ get()

static get ( )

Get the global instance of .

The global instance of GravityView Core.

Definition at line 51 of file class-gv-core.php.

◆ init()

init ( )

Early initialization.

Loads dependencies, sets up the object, adds hooks, etc.


Enable logging.

Runs Filter:
gravityview/logger Filter the logger instance being used for logging.
\GV\Logger$loggerThe logger instance.


The Settings.


Require critical legacy core files.

GravityView extensions and widgets.

More legacy core.

Stop all further functionality from loading if the WordPress plugin is incompatible with the current environment.

Saves some time and memory.

Register the gravityview post type upon WordPress core init.

Add rewrite endpoint for single-entry URLs.


Generate custom slugs on entry save.



Our Source generic and beloved source and form backend implementations.


Our Entry generic and beloved entry backend implementations.

Context is everything.

Our Field generic and implementations.

Get the collections ready.

The sorting, filtering and paging classes.

The Renderers.



Gutenberg Blocks.

Cache busting.

Runs Actions:
gravityview/loaded The core has been loaded.

Note: this is a very early load hook, not all of WordPress core has been loaded here. init hasn't been called yet.

Definition at line 85 of file class-gv-core.php.

Field Documentation

◆ $__instance

$__instance = null

Definition at line 20 of file class-gv-core.php.

◆ $log


Definition at line 44 of file class-gv-core.php.

◆ $plugin


Definition at line 28 of file class-gv-core.php.

◆ $request


Definition at line 36 of file class-gv-core.php.

The documentation for this class was generated from the following file: