GravityView  1.19.4
The best, easiest way to display Gravity Forms entries on your website.
load-plugin-and-theme-hooks.php
Go to the documentation of this file.
1 <?php
2 /**
3  * Include files that load plugin and theme hooks
4  *
5  * @file load-plugin-and-theme-hooks.php
6  * @package GravityView
7  * @license GPL2+
8  * @author Katz Web Services, Inc.
9  * @link http://gravityview.co
10  * @copyright Copyright 2015, Katz Web Services, Inc.
11  *
12  * @since 1.15.2
13  */
14 
15 
16 /** @define "GRAVITYVIEW_DIR" "../" */
17 $include_path = GRAVITYVIEW_DIR . 'includes/plugin-and-theme-hooks/';
18 
19 // Abstract class
20 require $include_path . 'abstract-gravityview-plugin-and-theme-hooks.php';
21 
22 // Load all plugin and theme files automatically
23 foreach ( glob( $include_path . 'class-gravityview-{plugin,theme}-hooks-*.php', GLOB_BRACE ) as $gv_hooks_filename ) {
24  include $gv_hooks_filename;
25 }
const GRAVITYVIEW_DIR
"GRAVITYVIEW_DIR" "./" The absolute path to the plugin directory
Definition: gravityview.php:35
$include_path
"GRAVITYVIEW_DIR" "../"