Title: Where does WordPress handle posting?
Last modified: August 20, 2016

---

# Where does WordPress handle posting?

 *  [Mii](https://wordpress.org/support/users/mii/)
 * (@mii)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/where-does-wordpress-handle-posting/)
 * Hi,
 * I’m currently writing a phpBB modification, which basically automates posts in
   the WordPress blog.
 * The website owner, however, installed some plugins and modifications on the WordPress
   blog, and thus I would like to know if there were any edits in the post submission
   area. Unfortunately, I don’t have a lot of WordPress experience, and honestly,
   compared to phpBB, WordPress is a mess.
 * To get back to my question, I can’t really find that area. I’d like if someone
   explains me how and where WordPress handles posting. (I only need the actual 
   function that submits the post into the database. )
 * Please don’t link me to [this topic](http://codex.wordpress.org/Function_Reference/wp_insert_post)
   since I already read that one. It didn’t answer my question. It almost answered
   my how question, but didn’t spoke about where it gets handled.
 * Thanks in advance,
    Mii

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/where-does-wordpress-handle-posting/#post-2687950)
 * The function wp_insert_post() handles the insertion. It is in wp-includes/post.
   php. Starts around line 2415. The comments describe the post info passed. The
   actual insertion is around 2589:
    $wpdb->insert( $wpdb->posts, $data );
 *  Thread Starter [Mii](https://wordpress.org/support/users/mii/)
 * (@mii)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/where-does-wordpress-handle-posting/#post-2687951)
 * Thanks, but in what file is that function written?
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/where-does-wordpress-handle-posting/#post-2687952)
 * It is in wp-includes/post.php

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Where does WordPress handle posting?’ is closed to new replies.

## Tags

 * [-posting](https://wordpress.org/support/topic-tag/posting/)
 * [function](https://wordpress.org/support/topic-tag/function/)
 * [phpBB](https://wordpress.org/support/topic-tag/phpbb/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 3 replies
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/where-does-wordpress-handle-posting/#post-2687952)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
