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