woocommerce – hide payment method in new order email

I manged to figure this one out. For anyone having the same problem maybe, here is the solution. Just add

 unset( $totals['payment_method'] );

before

return $totals;

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)