| @@ 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. |
|
| @@ 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 |
|