• Hi all. I would like to know the php file where $post and its properties gets saved to the database after the blog gets published.
    I am trying to add additional properties to a $post that can be saved. For example one such property is the location the blog was published from. Thank you so much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi oddenn

    You will find that in wp_posts table in your database.

    Best Regards!!

    You can find this is posts table
    In default WP installation it is wp_posts
    For yours, please check table prefix_posts (you can see your prefix in wp-config.php )

    Thread Starter oddenn

    (@oddenn)

    Hi all. Thank you for replying. I am looking for the PHP file with the sql code that saves $post and its properties. Not looking for the wp_post table in the database. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Want to know where $post gets saved into database’ is closed to new replies.