orders as $customer_order ) { $an_order = wc_get_order( $customer_order ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited $item_count = $an_order->get_item_count() - $an_order->get_item_count_refunded(); ?>
$column_name ) : ?>
', esc_url( wc_placeholder_img_src( $product_filter_image_size ) ), esc_html__( 'Awaiting product image', 'astra-addon' ) ); foreach ( $an_order->get_items() as $item_id => $item_values ) { $product = $item_values->get_product(); $product_image = get_the_post_thumbnail( $product->get_id(), $product_filter_image_size ); $featured_image = $product_image ? $product_image : $placeholder_image; echo wp_kses_post( $featured_image ); break; } ?> get_status() ) ); ?> get_formatted_order_total(), $item_count ) ); ?> $order_action ) { echo '' . esc_html( $order_action['name'] ) . ''; } } ?>
max_num_pages ) : ?>
max_num_pages ) !== $current_page ) : ?>