Set post_parent from URL params in post-new.php
… the problem I have now is how to actually set the post_parent on the $post object … I dont see any WordPress functions to do so… From the Codex: $post (array) (required) An array representing the elements that make up a post. There is a one-to-one relationship between these elements and the names of … Read more