GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
register-wordpress-widgets.php
Go to the documentation of this file.
1 <?php
2 /**
3  * GravityView WP Widgets
4  *
5  * @package GravityView
6  * @license GPL2+
7  * @author GravityView <[email protected]>
8  * @link http://gravityview.co
9  * @copyright Copyright 2014, Katz Web Services, Inc.
10  *
11  * @since 1.6
12  */
13 
14 
15 /**
16  * Register GravityView widgets
17  *
18  * @since 1.6
19  * @return void
20  */
22 
23  /** @define "GRAVITYVIEW_DIR" "../../" */
24  require_once( GRAVITYVIEW_DIR . 'includes/wordpress-widgets/class-gravityview-recent-entries-widget.php' );
25 
26  register_widget( 'GravityView_Recent_Entries_Widget' );
27 
28  require_once( GRAVITYVIEW_DIR . 'includes/wordpress-widgets/class-gravityview-search-wp-widget.php' );
29 
30  register_widget( 'GravityView_Search_WP_Widget' );
31 
32 }
33 
34 add_action( 'widgets_init', 'gravityview_register_widgets' );
const GRAVITYVIEW_DIR
"GRAVITYVIEW_DIR" "./" The absolute path to the plugin directory, with trailing slash ...
Definition: gravityview.php:49
gravityview_register_widgets()
Register GravityView widgets.