When creating a WordPress theme or plugin, AJAX is often used in order to enhance the user experience. In order to ensure security and protect your site against several types of attacks including CSRF, WordPress provides security tokens called nonces. In this article, I'll show you how to use nonces to protect AJAX requests on a WordPress site.
Dates are always an important part of any website or app, but they can be a little tricky to deal with, especially for beginners. Here is a list of a few PHP functions and code snippets that will definitely come in handy when dealing with dates.
Many websites are showing a fixed message bar at the bottom of the page in order to display an announcement, promotional offers or an important article recently published. Here is a super easy tutorial for doing so on your website.
When developing websites, apps or blogs, code snippets can be a real time saver. Today, I'm sharing super useful PHP snippets that I've collected over the past months. Enjoy!
PHP frameworks are super useful tools when it comes to clean and structured web development, as they speed up the creation and maintenance of your PHP web applications. In this article, I have compiled (in no particular order) my 10 favorite PHP frameworks.
PHP have lots of built-in functions, and most developers know many of them. But a few functions are not very well known, but are super useful. In this article, I have compiled little known but really cool PHP functions.