Force a post to draft if specific meta is invalid (or other reason), in this case the start and end date/time.
Code Snippets
Saving useful code as I find it, build it, or stumble into it.
Bullshit Free WordPress Development
Saving useful code as I find it, build it, or stumble into it.
Force a post to draft if specific meta is invalid (or other reason), in this case the start and end date/time.
archive author avatar Categories co-author plus conditional css custom field custom post type debug filter Genesis grid loop layout metadata Page Template page type plugin post meta post save post status Post Title RSS scripts scripts-to-footer search SEO settings shortcode Sidebar sql Tags Taxonomy term meta woocommerce wp_head