$order_count, 'meta_key' => '_customer_user', 'meta_value' => get_current_user_id(), 'post_type' => 'shop_order', 'post_status' => 'publish' ) ); if ( $customer_orders ) : ?>

populate( $customer_order ); $status = get_term_by( 'slug', $order->status, 'shop_order_status' ); ?>
get_order_number(); ?>
get_formatted_shipping_address() ) echo $address; else echo '–'; ?>
get_formatted_order_total(); ?> name, 'woocommerce' ) ); ?> status, array( 'pending', 'failed' ) ) ) : ?> () status, array( 'pending', 'failed' ) ) ) $actions[] = array( 'url' => $order->get_checkout_payment_url(), 'name' => __( 'Pay', 'woocommerce' ) ); $actions[] = array( 'url' => add_query_arg( 'order', $order->id, get_permalink( woocommerce_get_page_id( 'view_order' ) ) ), 'name' => __( 'View', 'woocommerce' ) ); $actions = apply_filters( 'woocommerce_my_account_my_orders_actions', $actions, $order ); foreach( $actions as $action ) { echo '' . esc_html( $action['name'] ) . ''; } ?>