added html support into wp mail

This commit is contained in:
magepeopleteam 2019-12-15 11:03:21 +00:00
parent 1a74aafd6b
commit 0541f20369
1 changed files with 9 additions and 0 deletions

View File

@ -2334,6 +2334,15 @@ echo $content = ob_get_clean();
}
function mep_email_set_content_type(){
return "text/html";
}
add_filter( 'wp_mail_content_type','mep_email_set_content_type' );
}else{
function mep_admin_notice_wc_not_active() {
$class = 'notice notice-error';