GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
includes
fields
class-gravityview-field-ip.php
Go to the documentation of this file.
1
<?php
2
/**
3
* @file class-gravityview-field-id.php
4
* @since 2.10
5
* @subpackage includes\fields
6
* @package GravityView
7
*/
8
9
class
GravityView_Field_IP
extends
GravityView_Field
{
10
11
var
$name
=
'ip'
;
12
13
var
$is_searchable
=
true
;
14
15
var
$search_operators
= array(
'is'
,
'isnot'
,
'contains'
);
16
17
var
$group
=
'meta'
;
18
19
var
$icon
=
'dashicons-laptop'
;
20
21
var
$is_numeric
=
true
;
22
23
public
function
__construct
() {
24
$this->label = __(
'User IP'
,
'gk-gravityview'
);
25
$this->
description
= __(
'The IP Address of the user who created the entry.'
,
'gk-gravityview'
);
26
parent::__construct();
27
}
28
}
29
30
new
GravityView_Field_IP
;
GravityView_Field
Modify field settings by extending this class.
Definition:
class-gravityview-field.php:11
GravityView_Field_IP
Definition:
class-gravityview-field-ip.php:9
GravityView_Field_IP\$is_searchable
$is_searchable
Definition:
class-gravityview-field-ip.php:13
GravityView_Field_IP\$is_numeric
$is_numeric
Definition:
class-gravityview-field-ip.php:21
GravityView_Field_IP
new GravityView_Field_IP
Definition:
class-gravityview-field-ip.php:30
GravityView_Field_IP\$name
$name
Definition:
class-gravityview-field-ip.php:11
GravityView_Field_IP\$search_operators
$search_operators
Definition:
class-gravityview-field-ip.php:15
GV\description
scale description p description
Definition:
class-gv-settings-plugin.php:405
GravityView_Field_IP\$group
$group
Definition:
class-gravityview-field-ip.php:17
GravityView_Field_IP\$icon
$icon
Definition:
class-gravityview-field-ip.php:19
GravityView_Field_IP\__construct
__construct()
Definition:
class-gravityview-field-ip.php:23