The MU forums have moved to WordPress.org

regarding wp_insert_post (1 post)

  1. Ovidiu
    Member
    Posted 14 years ago #

    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?

About this Topic

  • Started 14 years ago by Ovidiu