WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Which tables are updated when a new post is done? (2 posts)

  1. bekar09
    Member
    Posted 5 years ago #

    Hi Everybody,

    I'm pretty new to wordpress. Can someone please help me by letting me know what tables are updated when a new post is made? As in suppose I want to write a post using a separate php file. How should I frame my sql query? What tables are updated when a new post is submitted?

    Please help me. Thanks.

  2. bekar09
    Member
    Posted 5 years ago #

    it is the 'wp_posts' table in question and 'wp_insert_posts' is the required function. Hope this helps someone in future.

Topic Closed

This topic has been closed to new replies.

About this Topic