Add `woocommerce_admin_order_item_thumbnail` filter in `html-order-item.php`.

This commit is contained in:
Kathy Darling 2015-09-08 13:41:12 -04:00
parent 799353e8f2
commit 9571b8827e
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ if ( ! defined( 'ABSPATH' ) ) {
echo '<br/>' . wc_get_formatted_variation( $_product->variation_data, true ); echo '<br/>' . wc_get_formatted_variation( $_product->variation_data, true );
} }
?>"><?php echo $_product->get_image( 'shop_thumbnail', array( 'title' => '' ) ); ?></a> ?>"><?php echo apply_filters( 'woocommerce_admin_order_item_thumbnail', $_product->get_image( 'shop_thumbnail', array( 'title' => '' ) ), $item_id, $item ); ?></a>
<?php else : ?> <?php else : ?>
<?php echo wc_placeholder_img( 'shop_thumbnail' ); ?> <?php echo wc_placeholder_img( 'shop_thumbnail' ); ?>
<?php endif; ?> <?php endif; ?>