Skip to content
Last updated: Sunday, 6 January 2019
When sending emails meta-data in the email “header” explains who sent the email. There are two similar, but quite different,...
The nl2br PHP function can be used to convert \n \r ‘line breaks’ to HTML <br> line breaks. It will...
The following code shows how to create a shortcode which will load and display an external file. This can be...
The following code will disable comments and pingbacks in a WordPress. add_filter( 'pings_open', '__return_false', 10, 2 ); add_filter( 'comments_open', '__return_false',...
If you’ve noticed an @ symbol in some PHP code – you’re likely wondering exactly what it does. The @...
By default WordPress will send emails as plain text using the content type “text/plain”. But some plugins, such as Gravity...