esc_html__( 'Order', 'woocommerce' ), 'order-date' => esc_html__( 'Date', 'woocommerce' ), 'order-status' => esc_html__( 'Status', 'woocommerce' ), 'order-total' => esc_html__( 'Total', 'woocommerce' ), 'order-actions' => ' ', ) ); $customer_orders = get_posts( apply_filters( 'woocommerce_my_account_my_orders_query', array( 'numberposts' => $order_count, 'meta_key' => '_customer_user', 'meta_value' => get_current_user_id(), 'post_type' => wc_get_order_types( 'view-orders' ), 'post_status' => array_keys( wc_get_order_statuses() ), ) ) ); if ( $customer_orders ) : ?>

$column_name ) : ?> get_item_count(); ?> $column_name ) : ?>
get_order_number(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> get_status() ) ); ?> get_formatted_order_total(), $item_count ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> $action ) { // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited echo '' . esc_html( $action['name'] ) . ''; } } ?>