0
votes
2answers
534 views

Notices when submitting custom post type from front-end

I have a form in a page template that allows users to submit posts into a custom post type from the front-end: $post = array( 'post_status' => 'draft', 'post_type' => 'stories', ...