WordPress Plugin Dev: How to send email using SMTP?

advertisement

wordpressIf you are doing WordPress plugin development that need to send out email, i think it’s a good idea to set the SMTP settings in your own plugin instead of using other third party SMTP plugin. It’s not that third party plugin is not good, but some times due to the plugin priority issue, the email might not sent out. This might because of the priority issue.

To send email using SMTP in your own WordPress plugin, follow the code below:-

Continue reading WordPress Plugin Dev: How to send email using SMTP? »

How to delete table row using jQuery

advertisement

jqueryI just found out that i’ve been searching for how to delete table row using jquery for many times. Although i manage to find the answer each time, it seems can’t remember the function. So this post will be one of my notes to remind me about this!

To delete table row in jQuery, try the code below:-

Continue reading How to delete table row using jQuery »

How to restart dock when dock hang in Mac OS X

advertisement

macSometimes due to some error, you might encounter your dock hang and no respond in your Mac OS X. I encounter this issue few times and it very irritating while my dock hang. If you dock hang and not responding like mine, you may want to restart your dock thru the following method.
Continue reading How to restart dock when dock hang in Mac OS X »