GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
includes
fields
class-gravityview-field-transaction-id.php
Go to the documentation of this file.
1
<?php
2
/**
3
* @file class-gravityview-field-transaction-id.php
4
* @package GravityView
5
* @subpackage includes\fields
6
* @since 1.16
7
*/
8
9
class
GravityView_Field_Transaction_ID
extends
GravityView_Field
{
10
11
var
$name
=
'transaction_id'
;
12
13
var
$is_searchable
=
true
;
14
15
var
$is_numeric
=
true
;
16
17
var
$search_operators
= array(
'is'
,
'isnot'
,
'starts_with'
,
'ends_with'
);
18
19
var
$group
=
'pricing'
;
20
21
var
$_custom_merge_tag
=
'transaction_id'
;
22
23
var
$icon
=
'dashicons-cart'
;
24
25
/**
26
* GravityView_Field_Payment_Amount constructor.
27
*/
28
public
function
__construct
() {
29
$this->label = esc_html__(
'Transaction ID'
,
'gk-gravityview'
);
30
parent::__construct();
31
}
32
}
33
34
new
GravityView_Field_Transaction_ID
;
GravityView_Field
Modify field settings by extending this class.
Definition:
class-gravityview-field.php:11
GravityView_Field_Transaction_ID\$is_numeric
$is_numeric
Definition:
class-gravityview-field-transaction-id.php:15
GravityView_Field_Transaction_ID\$search_operators
$search_operators
Definition:
class-gravityview-field-transaction-id.php:17
GravityView_Field_Transaction_ID\$icon
$icon
Definition:
class-gravityview-field-transaction-id.php:23
GravityView_Field_Transaction_ID\$group
$group
Definition:
class-gravityview-field-transaction-id.php:19
GravityView_Field_Transaction_ID\$name
$name
Definition:
class-gravityview-field-transaction-id.php:11
GravityView_Field_Transaction_ID\$is_searchable
$is_searchable
Definition:
class-gravityview-field-transaction-id.php:13
GravityView_Field_Transaction_ID\$_custom_merge_tag
$_custom_merge_tag
Definition:
class-gravityview-field-transaction-id.php:21
GravityView_Field_Transaction_ID\__construct
__construct()
GravityView_Field_Payment_Amount constructor.
Definition:
class-gravityview-field-transaction-id.php:28
GravityView_Field_Transaction_ID
Definition:
class-gravityview-field-transaction-id.php:9
GravityView_Field_Transaction_ID
new GravityView_Field_Transaction_ID
Definition:
class-gravityview-field-transaction-id.php:34