I have created a custom post type in wordpress with custom meta fields.
These have all be done with the wordpress php functions.
I need validation on these custom meta fields and I am currently using this messy method:
I understand I might have to stick with this method.
But what I need to know is how could I prevent the post from saving if the meta fields dont meet requirements.
- The topic ‘Interrupting 'save_post'’ is closed to new replies.