Title: function on post comment submit
Last modified: August 20, 2016

---

# function on post comment submit

 *  [bjrdesign](https://wordpress.org/support/users/bjrdesign/)
 * (@bjrdesign)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/function-on-post-comment-submit/)
 * I’d like to perform a php function on the submit of a comment, this function 
   needs to have the id of the post that the comment was on.
 * Any ideas?
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Thread Starter [bjrdesign](https://wordpress.org/support/users/bjrdesign/)
 * (@bjrdesign)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/function-on-post-comment-submit/#post-2441073)
 * Any ideas at all?

Viewing 1 replies (of 1 total)

The topic ‘function on post comment submit’ is closed to new replies.

## Tags

 * [post comment](https://wordpress.org/support/topic-tag/post-comment/)
 * [wordpress function](https://wordpress.org/support/topic-tag/wordpress-function/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [bjrdesign](https://wordpress.org/support/users/bjrdesign/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/function-on-post-comment-submit/#post-2441073)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
