trying to modify a plugin that creates pages so that I can pass it the page template to use.
Right now, every tiem after using this plugin, I have to go to edit pages, and change the template of the created page.
So I found this: http://codex.wordpress.org/Function_Reference/wp_insert_post in the codex, but can't find out how to pass the template to be used as a variable. is it somehow possible?