quqbiw
Last Updated: February 25, 2016
·
531
· riyadhalnur

Payment type in WooCommerce Admin Email

Paste code in functions.php file of theme.

add_action('woocommerce_email_after_order_table','add_payment_method_admin_new_order', 15, 2 );  

function add_payment_method_admin_new_order( $order, $is_admin_email ) {  
    if ( $is_admin_email ) {  
        echo '<p><strong>Payment Method:</strong> ' . $order->payment_method_title .    
    '</p>';  
  }
}