Title: How does WordPress save comments to database?
Last modified: August 19, 2016

---

# How does WordPress save comments to database?

 *  [amp343](https://wordpress.org/support/users/amp343/)
 * (@amp343)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/how-does-wordpress-save-comments-to-database/)
 * I’m wondering how / where / in what file WordPress saves an ingoing comment to
   the database. I’m trying to modify this behavior some (the few filters I’ve tried
   haven’t worked the way I’d like), but I’m getting confused about how this process
   goes from the form on a theme’s comments.php file into the database itself.
 * Anybody with a better understanding of WordPress / PHP who might know would be
   a great help!

Viewing 1 replies (of 1 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/how-does-wordpress-save-comments-to-database/#post-1452112)
 * Have you looked for plugins that could help you?
 * At least they might give you ideas on hooks/filters to use…
 * [http://wordpress.org/extend/plugins/search.php?q=comments](http://wordpress.org/extend/plugins/search.php?q=comments)

Viewing 1 replies (of 1 total)

The topic ‘How does WordPress save comments to database?’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [database](https://wordpress.org/support/topic-tag/database/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/how-does-wordpress-save-comments-to-database/#post-1452112)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
