GravityView  2.17
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  * @license GPL2+
7  * @link https://gravityview.co
8  * @copyright Copyright 2020, Katz Web Services, Inc.
9  */
10 
11 
12 
13 /**
14  * Register the default widgets
15  * @return void
16  */
18 
19  include_once( GRAVITYVIEW_DIR .'includes/widgets/class-gravityview-widget.php' );
20 
21  include_once( GRAVITYVIEW_DIR .'includes/widgets/search-widget/class-search-widget.php' );
22  include_once( GRAVITYVIEW_DIR .'includes/widgets/class-gravityview-widget-custom-content.php' );
23  include_once( GRAVITYVIEW_DIR .'includes/widgets/class-gravityview-widget-gravityforms.php' );
24  include_once( GRAVITYVIEW_DIR .'includes/widgets/class-gravityview-widget-page-size.php' );
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 
28  if( class_exists('GFPolls') ) {
29  include_once( GRAVITYVIEW_DIR .'includes/widgets/poll/class-gravityview-widget-poll.php' );
30  }
31 
32 }
33 
34 // Load default widgets
35 add_action( 'init', 'gravityview_register_gravityview_widgets', 11 );
const GRAVITYVIEW_DIR
"GRAVITYVIEW_DIR" "./" The absolute path to the plugin directory, with trailing slash ...
Definition: gravityview.php:49
gravityview_register_gravityview_widgets()
Register the default widgets.