GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
class-gravityview-field-username.php
Go to the documentation of this file.
1 <?php
2 /**
3  * @file class-gravityview-field-username.php
4  * @since 2.17
5  * @subpackage includes\fields
6  * @package GravityView
7  */
8 
10 
11  var $name = 'username';
12 
13  var $is_searchable = true;
14 
15  var $search_operators = array( 'is', 'isnot', 'in', 'notin', 'contains' );
16 
17  var $group = 'advanced';
18 
19  var $icon = 'dashicons-admin-users';
20 
21  var $is_numeric = false;
22 
23  /** @see GF_Field_Username */
24  var $_gf_field_class_name = 'GF_Field_Username';
25 
26  public function __construct() {
27  $this->label = esc_html__( 'Username', 'gk-gravityview' );
28  $this->description = esc_html__( 'The username of the user who created the entry.', 'gk-gravityview' );
29  parent::__construct();
30  }
31 }
32 
Modify field settings by extending this class.
scale description p description