has_downloadable_item fix
This commit is contained in:
parent
a4e987cde3
commit
53e194aece
|
@ -166,7 +166,7 @@ class woocommerce_email {
|
|||
|
||||
$order = new woocommerce_order( $order_id );
|
||||
|
||||
if ($order->has_downloadable_item) :
|
||||
if ($order->has_downloadable_item()) :
|
||||
$subject = __('[%s] Order Complete/Download Links', 'woocommerce');
|
||||
$email_heading = __('Order Complete/Download Links', 'woocommerce');
|
||||
else :
|
||||
|
|
Loading…
Reference in New Issue