I have a custom CPT and I need that my user fill all the required fields.
How can I check if the field is set and show a message error if is not set?
I have a custom hook to the save_post action that check if is my CPT, there is any action for show error box and prevent create post?