GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
includes
fields
class-gravityview-field-shipping.php
Go to the documentation of this file.
1
<?php
2
/**
3
* @file class-gravityview-field-shipping.php
4
* @package GravityView
5
* @subpackage includes\fields
6
* @since 2.17
7
*/
8
9
/**
10
* @since 2.17
11
*/
12
class
GravityView_Field_Shipping
extends
GravityView_Field
{
13
14
var
$name
=
'shipping'
;
15
16
var
$is_searchable
=
true
;
17
18
var
$is_numeric
=
false
;
19
20
var
$search_operators
= array(
'is'
,
'isnot'
,
'greater_than'
,
'less_than'
);
21
22
var
$group
=
'product'
;
23
24
var
$icon
=
'dashicons-cart'
;
25
26
/** @see GF_Field_Shipping */
27
var
$_gf_field_class_name
=
'GF_Field_Shipping'
;
28
29
public
function
__construct
() {
30
$this->label = esc_html__(
'Shipping'
,
'gk-gravityview'
);
31
$this->
description
= esc_html__(
'The shipping fee for the payment.'
,
'gk-gravityview'
);
32
parent::__construct();
33
}
34
}
35
36
new
GravityView_Field_Shipping
;
GravityView_Field
Modify field settings by extending this class.
Definition:
class-gravityview-field.php:11
GravityView_Field_Shipping\$is_searchable
$is_searchable
Definition:
class-gravityview-field-shipping.php:16
GravityView_Field_Shipping
new GravityView_Field_Shipping
Definition:
class-gravityview-field-shipping.php:36
GravityView_Field_Shipping
Definition:
class-gravityview-field-shipping.php:12
GravityView_Field_Shipping\$name
$name
Definition:
class-gravityview-field-shipping.php:14
GravityView_Field_Shipping\$is_numeric
$is_numeric
Definition:
class-gravityview-field-shipping.php:18
GravityView_Field_Shipping\$_gf_field_class_name
$_gf_field_class_name
Definition:
class-gravityview-field-shipping.php:27
GV\description
scale description p description
Definition:
class-gv-settings-plugin.php:405
GravityView_Field_Shipping\$icon
$icon
Definition:
class-gravityview-field-shipping.php:24
GravityView_Field_Shipping\__construct
__construct()
Definition:
class-gravityview-field-shipping.php:29
GravityView_Field_Shipping\$search_operators
$search_operators
Definition:
class-gravityview-field-shipping.php:20
GravityView_Field_Shipping\$group
$group
Definition:
class-gravityview-field-shipping.php:22