includes/admin/class-api-keys-table.php 1 location
|
@@ 52-63 (lines=12) @@
|
| 49 |
|
* @global $status |
| 50 |
|
* @global $page |
| 51 |
|
*/ |
| 52 |
|
public function __construct() { |
| 53 |
|
global $status, $page; |
| 54 |
|
|
| 55 |
|
// Set parent defaults |
| 56 |
|
parent::__construct( array( |
| 57 |
|
'singular' => esc_html__( 'API Key', 'give' ), // Singular name of the listed records |
| 58 |
|
'plural' => esc_html__( 'API Keys', 'give' ), // Plural name of the listed records |
| 59 |
|
'ajax' => false,// Does this table support ajax? |
| 60 |
|
) ); |
| 61 |
|
|
| 62 |
|
$this->query(); |
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
/** |
| 66 |
|
* This function renders most of the columns in the list table. |
includes/admin/donors/class-donor-table.php 1 location
|
@@ 61-70 (lines=10) @@
|
| 58 |
|
* @since 1.0 |
| 59 |
|
* @see WP_List_Table::__construct() |
| 60 |
|
*/ |
| 61 |
|
public function __construct() { |
| 62 |
|
|
| 63 |
|
// Set parent defaults. |
| 64 |
|
parent::__construct( array( |
| 65 |
|
'singular' => __( 'Donor', 'give' ), // Singular name of the listed records. |
| 66 |
|
'plural' => __( 'Donors', 'give' ), // Plural name of the listed records. |
| 67 |
|
'ajax' => false, // Does this table support ajax?. |
| 68 |
|
) ); |
| 69 |
|
|
| 70 |
|
} |
| 71 |
|
|
| 72 |
|
/** |
| 73 |
|
* Show the search field. |
includes/admin/reports/class-donor-reports-table.php 1 location
|
@@ 61-71 (lines=11) @@
|
| 58 |
|
* @since 1.0 |
| 59 |
|
* @see WP_List_Table::__construct() |
| 60 |
|
*/ |
| 61 |
|
public function __construct() { |
| 62 |
|
global $status, $page; |
| 63 |
|
|
| 64 |
|
// Set parent defaults |
| 65 |
|
parent::__construct( array( |
| 66 |
|
'singular' => esc_html__( 'Donor', 'give' ), // Singular name of the listed records |
| 67 |
|
'plural' => esc_html__( 'Donors', 'give' ), // Plural name of the listed records |
| 68 |
|
'ajax' => false,// Does this table support ajax? |
| 69 |
|
) ); |
| 70 |
|
|
| 71 |
|
} |
| 72 |
|
|
| 73 |
|
/** |
| 74 |
|
* Remove default search field in favor for repositioned location |