GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
class-gravityview-plugin-hooks-gravity-forms-directory.php
Go to the documentation of this file.
1 <?php
2 /**
3  * Customization for the Gravity Forms Directory plugin
4  *
5  * @file class-gravityview-plugin-hooks-gravity-forms-directory.php
6  * @package GravityView
7  * @license GPL2+
8  * @author GravityView <[email protected]>
9  * @link http://gravityview.co
10  * @copyright Copyright 2016, Katz Web Services, Inc.
11  *
12  * @since 2.1.2
13  */
14 
15 /**
16  * @inheritDoc
17  * @since 2.1.2
18  */
20 
21  /**
22  * @type string Class that should be exist in a plugin or theme. Used to check whether plugin is active.
23  * @since 2.1.2
24  */
25  protected $class_name = 'KWS_GF_Change_Lead_Creator';
26 
27  protected function add_hooks() {
28 
29  $KWS_GF_Change_Lead_Creator = new KWS_GF_Change_Lead_Creator;
30 
31  // Now, no validation is required in the methods; let's hook in.
32  remove_action('admin_init', array( $KWS_GF_Change_Lead_Creator, 'set_screen_mode' ) );
33 
34  remove_action("gform_entry_info", array( $KWS_GF_Change_Lead_Creator, 'add_select' ), 10 );
35 
36  remove_action("gform_after_update_entry", array( $KWS_GF_Change_Lead_Creator, 'update_entry_creator' ), 10 );
37 
38  }
39 }
40 
Abstract class that makes it easy for plugins and themes to register no-conflict scripts and styles...