GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
includes
fields
class-gravityview-field-payment-method.php
Go to the documentation of this file.
1
<?php
2
/**
3
* @file class-gravityview-field-payment-method.php
4
* @package GravityView
5
* @subpackage includes\fields
6
* @since 1.16
7
*/
8
9
class
GravityView_Field_Payment_Method
extends
GravityView_Field
{
10
11
var
$name
=
'payment_method'
;
12
13
var
$is_searchable
=
true
;
14
15
var
$is_numeric
=
false
;
16
17
var
$search_operators
= array(
'is'
,
'isnot'
,
'contains'
);
18
19
var
$group
=
'pricing'
;
20
21
var
$_custom_merge_tag
=
'payment_method'
;
22
23
var
$icon
=
'dashicons-cart'
;
24
25
/**
26
* GravityView_Field_Date_Created constructor.
27
*/
28
public
function
__construct
() {
29
$this->label = esc_html__(
'Payment Method'
,
'gk-gravityview'
);
30
$this->
description
= esc_html__(
'The way the entry was paid for (ie "Credit Card", "PayPal", etc.)'
,
'gk-gravityview'
);
31
parent::__construct();
32
}
33
}
34
35
new
GravityView_Field_Payment_Method
;
GravityView_Field
Modify field settings by extending this class.
Definition:
class-gravityview-field.php:11
GravityView_Field_Payment_Method
Definition:
class-gravityview-field-payment-method.php:9
GravityView_Field_Payment_Method\$icon
$icon
Definition:
class-gravityview-field-payment-method.php:23
GravityView_Field_Payment_Method\$search_operators
$search_operators
Definition:
class-gravityview-field-payment-method.php:17
GravityView_Field_Payment_Method\__construct
__construct()
GravityView_Field_Date_Created constructor.
Definition:
class-gravityview-field-payment-method.php:28
GravityView_Field_Payment_Method\$name
$name
Definition:
class-gravityview-field-payment-method.php:11
GV\description
scale description p description
Definition:
class-gv-settings-plugin.php:405
GravityView_Field_Payment_Method\$is_numeric
$is_numeric
Definition:
class-gravityview-field-payment-method.php:15
GravityView_Field_Payment_Method
new GravityView_Field_Payment_Method
Definition:
class-gravityview-field-payment-method.php:35
GravityView_Field_Payment_Method\$_custom_merge_tag
$_custom_merge_tag
Definition:
class-gravityview-field-payment-method.php:21
GravityView_Field_Payment_Method\$is_searchable
$is_searchable
Definition:
class-gravityview-field-payment-method.php:13
GravityView_Field_Payment_Method\$group
$group
Definition:
class-gravityview-field-payment-method.php:19