function fflcommerce_product_thumbnail($post, fflcommerce_product $product) { echo $product->get_image('shop_thumbnail'); }