Automattic\WooCommerce\Internal\Admin\Orders

ListTable::get_columns()publicWC 1.0

Get list columns.

{} Это метод класса: ListTable{}

Хуков нет.

Возвращает

Массив.

Использование

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

Код ListTable::get_columns() WC 6.8.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' ),
	);
}