Title: Using WP comments for a plugin.
Last modified: August 19, 2016

---

# Using WP comments for a plugin.

 *  [zeeg](https://wordpress.org/support/users/zeeg/)
 * (@zeeg)
 * [17 years ago](https://wordpress.org/support/topic/using-wp-comments-for-a-plugin/)
 * So I’m looking at possible ways to integrate comments into my plugin. As of right
   now I see only one solution, and that is to insert my events into the posts table.
 * I don’t really want to take that approach, as it’s not easily maintainable, but
   I could. Now going beyond that, even if I did move things into the wp posts table,
   I’m concerned about how much I’d be inserting. In an average persons install 
   of the plugin, there could be 10s to 100s of events a day inserted, and that’d
   add a lot of bloat to the table.
 * So, taking that option off the table, are there any suggestions on how I could
   use the existing comments framework (possibly even the db table), including plugins
   such as spam blocking, to interact with my own events?

Viewing 1 replies (of 1 total)

 *  Thread Starter [zeeg](https://wordpress.org/support/users/zeeg/)
 * (@zeeg)
 * [17 years ago](https://wordpress.org/support/topic/using-wp-comments-for-a-plugin/#post-1090275)
 * While considering this, I’m also wondering if I could set the post ID to 0 in
   the comments table, and have a secondary table which overlaps with this so that
   I can point event->comment.

Viewing 1 replies (of 1 total)

The topic ‘Using WP comments for a plugin.’ is closed to new replies.

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [zeeg](https://wordpress.org/support/users/zeeg/)
 * Last activity: [17 years ago](https://wordpress.org/support/topic/using-wp-comments-for-a-plugin/#post-1090275)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
