How to add HTML content type in wordpress mail


remove_filter( 'wp_mail_content_type', 'set_html_content_type' );

function set_html_content_type() {

    return 'text/html';
}



Simply paste above code in to your function.php file

Advertisements