* Update translation text domain * Escape everything that should be escaped. * Add nonce checks where needed. * Sanitize all inputs. * Apply Code style changes across the codebase. * Correct many deprecation notices. * Optimize load order of many filters. * Add Proper Build script * Use emojii flags * Fix i18n deprecation notice for translating too early * Put all scripts in footer and load async
55 lines
1.0 KiB
PHP
55 lines
1.0 KiB
PHP
<?php
|
|
/**
|
|
* Customers Payment List Table class.
|
|
*
|
|
* @package WP_Ultimo
|
|
* @subpackage List_Table
|
|
* @since 2.0.0
|
|
*/
|
|
|
|
namespace WP_Ultimo\List_Tables\Customer_Panel;
|
|
|
|
// Exit if accessed directly
|
|
defined('ABSPATH') || exit;
|
|
|
|
use WP_Ultimo\List_Tables\Payment_List_Table as Parent_Payment_List_Table;
|
|
|
|
/**
|
|
* Payment List Table class.
|
|
*
|
|
* @since 2.0.0
|
|
*/
|
|
class Invoice_List_Table extends Parent_Payment_List_Table {
|
|
|
|
/**
|
|
* Returns the list of columns for this particular List Table.
|
|
*
|
|
* @since 2.0.0
|
|
* @return array
|
|
*/
|
|
public function get_columns() {
|
|
|
|
$columns = [
|
|
'hash' => __('Code', 'wp-multisite-waas'),
|
|
'status' => __('Status', 'wp-multisite-waas'),
|
|
'total' => __('Total', 'wp-multisite-waas'),
|
|
'date_created' => __('Created at', 'wp-multisite-waas'),
|
|
];
|
|
|
|
return $columns;
|
|
}
|
|
|
|
/**
|
|
* Clears the bulk actions.
|
|
*
|
|
* @since 2.0.0
|
|
*
|
|
* @param string $which Top or bottom.
|
|
* @return array
|
|
*/
|
|
public function bulk_actions($which = '') {
|
|
|
|
return [];
|
|
}
|
|
}
|