Automattic\WooCommerce\Internal\Admin\Orders

ListTable::get_columns()publicWC 1.0

Get list columns.

{} It's a method of the class: ListTable{}

No Hooks.

Return

Array.

Usage

$ListTable = new ListTable();
$ListTable->get_columns();

Code of ListTable::get_columns() WC 7.1.0

public function get_columns() {
	return array(
		'cb'               => '<input type="checkbox" />',
		'order_number'     => esc_html__( 'Order', 'woocommerce' ),
		'order_date'       => esc_html__( 'Date', 'woocommerce' ),
		'order_status'     => esc_html__( 'Status', 'woocommerce' ),
		'billing_address'  => esc_html__( 'Billing', 'woocommerce' ),
		'shipping_address' => esc_html__( 'Ship to', 'woocommerce' ),
		'order_total'      => esc_html__( 'Total', 'woocommerce' ),
		'wc_actions'       => esc_html__( 'Actions', 'woocommerce' ),
	);
}