GravityView  1.19.4
The best, easiest way to display Gravity Forms entries on your website.
register-gravityview-widgets.php
Go to the documentation of this file.
1 <?php
2 /**
3  * GravityView default widgets and generic widget class
4  *
5  * @package GravityView
6  * @author Zack Katz <zack@katzwebservices.com>
7  * @license ToBeDefined
8  * @link http://gravityview.co
9  * @copyright Copyright 2014, Katz Web Services, Inc.
10  *
11  * @since 1.0.0
12  */
13 
14 
15 
16 /**
17  * Register the default widgets
18  * @todo Move somehere logical
19  * @return void
20  */
22 
23  include_once( GRAVITYVIEW_DIR .'includes/widgets/class-gravityview-widget.php' );
24 
25  include_once( GRAVITYVIEW_DIR .'includes/widgets/class-gravityview-widget-pagination-info.php' );
26  include_once( GRAVITYVIEW_DIR .'includes/widgets/class-gravityview-widget-page-links.php' );
27  include_once( GRAVITYVIEW_DIR .'includes/widgets/class-gravityview-widget-custom-content.php' );
28  include_once( GRAVITYVIEW_DIR .'includes/widgets/search-widget/class-search-widget.php' );
29 
30  if( class_exists('GFPolls') ) {
31  include_once( GRAVITYVIEW_DIR .'includes/widgets/poll/class-gravityview-widget-poll.php' );
32  }
33 
34 }
35 
36 // Load default widgets
37 add_action( 'init', 'gravityview_register_gravityview_widgets', 11 );
const GRAVITYVIEW_DIR
"GRAVITYVIEW_DIR" "./" The absolute path to the plugin directory
Definition: gravityview.php:35
gravityview_register_gravityview_widgets()
Register the default widgets.