Adding Validation to a WordPress Creation Toolkit Field

, , , ,

So I ran into a need to validate an email address for a frontend posting of a custom post type using Cozmos Labs WordPress Creation Toolkit.  Here is the code that I used to be able to accomplish that.  There is some commented out code that allows for you to see what is being passed in the field and values variables


Submit a Comment

Your email address will not be published. Required fields are marked *