Created
October 13, 2015 18:08
-
-
Save SeanChDavis/91341861ff9a73c7af09 to your computer and use it in GitHub Desktop.
EDD Email Receipt Remove HTML small Tags
This file contains 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 // DO NOT COPY THIS LINE | |
function sd_remove_small_tag_email_receipt( $message ) { | |
$small = array( '<small>', '</small>' ); | |
$message = str_replace( $small, '', $message ); | |
return $message; | |
} | |
add_filter( 'edd_email_message', 'sd_remove_small_tag_email_receipt' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment