Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* @Title: WooCommerce Add Custom Notes to Order Email
* @Author: Mina Pansuriya
* @Website:
add_action( 'woocommerce_email_after_order_table', 'pbs_woo_add_custom_message_to_admin_new_order', 15, 2 );
function pbs_woo_add_custom_message_to_admin_new_order( $order, $is_admin_email ) {
if ( $is_admin_email ) {
echo '<p><strong>Custom Message</strong> ' . 'This is custom message for Admin'. '</p>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.