WC_Report_Customer_List::get_columns()publicWC 1.0

Get columns.

Method of the class: WC_Report_Customer_List{}

No Hooks.

Return

Array.

Usage

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

WC_Report_Customer_List::get_columns() code WC 8.7.0

public function get_columns() {
	$columns = array(
		'customer_name' => __( 'Name (Last, First)', 'woocommerce' ),
		'username'      => __( 'Username', 'woocommerce' ),
		'email'         => __( 'Email', 'woocommerce' ),
		'location'      => __( 'Location', 'woocommerce' ),
		'orders'        => __( 'Orders', 'woocommerce' ),
		'spent'         => __( 'Money spent', 'woocommerce' ),
		'last_order'    => __( 'Last order', 'woocommerce' ),
		'wc_actions'    => __( 'Actions', 'woocommerce' ),
	);

	return $columns;
}