Sanitizing, Escaping and Validating Data in WordPress

Originally published at:

When creating WordPress plugins and themes, which will be used across thousands of websites, you need to be cautious about how to handle both the data coming into WordPress, and the data that is being presented to the user.

In this tutorial, we are going to look at the native functions that can secure, clean and check data that is coming in or going out of WordPress. This is necessary when creating a settings page, HTML form, manipulating shortcodes, and so on.

Continue reading this article on SitePoint
1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.