Hide 'other' payment method from invoice

This commit is contained in:
Mike Jolley 2019-02-27 13:56:15 +00:00
parent 1908daf2b4
commit fd3173f63a
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ class WC_Meta_Box_Order_Data {
$meta_list = array();
if ( $payment_method ) {
if ( $payment_method && 'other' !== $payment_method ) {
/* translators: %s: payment method */
$payment_method_string = sprintf(
__( 'Payment via %s', 'woocommerce' ),