Return the output directly
Return the output directly instead of variable.
This commit is contained in:
parent
ac8f18a721
commit
91faacb4c9
|
@ -1963,10 +1963,7 @@ abstract class WC_Abstract_Order {
|
|||
'show_image' => $show_image,
|
||||
'image_size' => $image_size
|
||||
) );
|
||||
|
||||
$return = apply_filters( 'woocommerce_email_order_items_table', ob_get_clean(), $this );
|
||||
|
||||
return $return;
|
||||
return apply_filters( 'woocommerce_email_order_items_table', ob_get_clean(), $this );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue