Last active
October 2, 2015 15:26
-
-
Save mauriciogofas/6d0936f33e65913b892b to your computer and use it in GitHub Desktop.
Add info/field to woocommerce_email_after_order_table
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 '<p><strong>Forma de pagamento:</strong> ' . $order->payment_method_title . '</p>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment