Change WordPress Email default From Name and Email address
/** * change WordPress default FROM Name and Email address **/ add_filter('wp_mail_from', 'new_ ...
Send HTML Emails Using wp_mail Function
WordPress’s wp_mail()
function default content type is text/plain
which does not allow using HTML. To send HTML emails you need to set the content type of the email to text/html
by using the wp_mail_content_type
filter. This is how you can do that
Get URL Parameter By Name
Javascript function to get query string parameters by the name. function getParameterByName(name) {
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");