Code Tag: post save
-
Force a Post to Draft on Save
Force a post to draft if specific meta is invalid (or other reason), in this case the start and end date/time.400: Invalid requestSource: https://gist.github.com/joshuadavidnelson/8f8cdfe38d1aff53d5ddTags: post meta, post save, post status