When do we use wp_slash?
Correct, if you are duplicating a post in WordPress, you do not need to use wp_slash() to escape the data. The purpose of wp_slash() is to add slashes to the data to prepare it for storage in the database. When you are duplicating a post, you are not directly inserting or updating data in the … Read more