Last active
October 30, 2023 10:17
-
-
Save SirDarcanos/4e244a32a3ec15b8ae13644ce62fef69 to your computer and use it in GitHub Desktop.
Add Text to The Emails Body
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
<?php | |
add_action( 'woocommerce_email_header', 'add_email_header', 20 ); | |
function add_email_header() { | |
echo '<h2>My Heading</h2>'; | |
echo '<p>Add content here</p>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment