WordPress.org

Ready to get started?Download WordPress

Forums

Create new posts directly in database (2 posts)

  1. jsherk
    Member
    Posted 6 years ago #

    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

  2. rajrin
    Member
    Posted 5 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.