Set post status to draft after validating post meta values in save_post hook
After some research, I altered my approach to validate the meta values in the following way: Create a new meta key(for post type) to store the validation (0 and 1). Initiate it with 0. This need not be kept/shown in the meta form. While saving the meta fields (preferably within save_post hook), set its value … Read more