__( 'Order', 'understrap' ), 'order-date' => __( 'Date', 'understrap' ), 'order-status' => __( 'Status', 'understrap' ), 'order-total' => __( 'Total', 'understrap' ), '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 ) : ?>
get_order_number(); ?> get_status() ) ); ?> get_formatted_order_total(), $item_count ); ?> $action ) { echo '' . esc_html( $action['name'] ) . ''; } } ?> |