Stop post submission without losing data?
I had to do the exact same thing with a custom post type that would be useless and cause theme problems without metadata. You’ll have to either A. Check the post for metadata AFTER it has been published using the transition_post_status hook, and if the metadata isn’t there, change the status to “draft” and throw … Read more