Working with user-centric fields in WordPress – such as input elements, textarea elements, or any type of field in which a user can supply their own values is a place that should always be a target of sanitization. Fortunately, the WordPress API provides a number of functions to help with this. Depending on your use case,
Read Full Tutorial