GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
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 
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 
Modify field settings by extending this class.
scale description p description
__construct()
GravityView_Field_Payment_Status constructor.