From fd40fc7839cf7224c09828e6f3af87b770752af7 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Sun, 26 Feb 2012 15:19:15 +0000 Subject: [PATCH] $image_size --- classes/class-wc-order.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/class-wc-order.php b/classes/class-wc-order.php index 45ef63936b9..da55b9e5981 100644 --- a/classes/class-wc-order.php +++ b/classes/class-wc-order.php @@ -516,7 +516,7 @@ class WC_Order { } /** Output items for display in html emails */ - function email_order_items_table( $show_download_links = false, $show_sku = false, $show_image = false ) { + function email_order_items_table( $show_download_links = false, $show_sku = false, $show_image = false, $image_size = array( 32, 32 ) ) { $return = ''; @@ -528,7 +528,7 @@ class WC_Order { if ($show_image) : $src = wp_get_attachment_image_src( get_post_thumbnail_id( $_product->id ), 'thumbnail'); - $image = apply_filters('woocommerce_order_product_image', 'Product Image', $_product); + $image = apply_filters('woocommerce_order_product_image', 'Product Image', $_product); endif; if ($show_sku && $_product->get_sku()) :