WordPress.org

Support

Support » Plugins and Hacks » Create new posts directly in database

Create new posts directly in database

  • I am writing an external program that needs to create new draft posts.

    It looks like I can just INSERT a new line into my MySQL database in the _posts table, and set post_status = draft.

    My questions are…

    #1 Are there any other tables I need to be concerned with, besides the _posts table?

    #2 Any other problems or concerns I need to be aware of that anybody can think to tell me about?

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Create new posts directly in database’ is closed to new replies.
Skip to toolbar