[rhc_members]

// Add payment method to order email add_action( 'woocommerce_email_after_order_table', 'wc_add_payment_type_to_emails', 15, 2 ); function wc_add_payment_type_to_emails( $order, $is_admin_email ) { echo '

Payment Type:

' . $order->payment_method_title . '

'; }