WC_Report_Customer_List::get_columns
Get columns.
Метод класса: WC_Report_Customer_List{}
Хуков нет.
Возвращает
Массив.
Использование
$WC_Report_Customer_List = new WC_Report_Customer_List(); $WC_Report_Customer_List->get_columns();
Код WC_Report_Customer_List::get_columns() WC Report Customer List::get columns WC 10.5.2
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;
}