InimistTech Blogs

Web & Mobile App Tech Weblog

  • Home
  • Laravel
  • React
  • Javascript
  • Linux
  • PHP
  • git
  • WordPress
  • Hindi to Unicode

Tag: content-type

Setting content headers to send WordPress HTML email

Arvind KumarWordPressLeave a Comment on Setting content headers to send WordPress HTML email
wordpress logo

Just paste the following code snippet to your functions.php file of your current theme. It will force all emails to be sent in HTML format. [php]function set_html_content_type() { return ‘text/html’; } add_filter( ‘wp_mail_content_type’, ‘set_html_content_type’ );[/php] If you want to set…

Read More→

  • Useful Linux Commands
  • Enlighter Example - CSS
  • Disk Space Usage Commands
  • Top Directory Linux commands

Recent Posts

  • Check If An Array Has Duplicate Values Example in PHP
  • How to install Django and Run your first project in Mac
  • 2 methods to check if a given Date is Today’s Date in Laravel
  • PHP example of Null coalescing operator for shorthand If-Else operator
  • Example of Eloquent Model Query with conditional Where condition in Laravel

About Arvind

Arvind Thakur is a Full Stack Web Developer. He founded and runs a Software Development company by the name Inimist Technologies in Chandigarh, India. >> know more
Copyright © All rights reserved.
Blog Kit by WP Charms