# Should comments webhook update count after deleting posts/comments?

**URL:** <https://meta.discourse.org/t/should-comments-webhook-update-count-after-deleting-posts-comments/336621>\
**Category:** WordPress\
**Created:** [November 17, 2024, 6:23pm UTC](https://meta.discourse.org/t/should-comments-webhook-update-count-after-deleting-posts-comments/336621 "2024-11-17T18:23:21Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Firsh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firsh/32/454861_2.png) [@Firsh](https://meta.discourse.org/u/Firsh)\
**Post date:** [December 4, 2024, 10:44am UTC](https://meta.discourse.org/t/should-comments-webhook-update-count-after-deleting-posts-comments/336621/7 "2024-12-04T10:44:10Z")

</div>

Plugin version 2.5.5  
DC version 3.4.0.beta3-dev ([876591fdab](https://github.com/discourse/discourse/commits/876591fdabbf085c5f7937a419f6aa08a2eeb893))

Settings for webhooks post events cover deleting and restoration (all checked).

- Posting a comment immediately increases the counter as expected.
- Upon deleting my only post in the topic, the counter in WP stays on 1.
- Upon restoring it stays on 1 as well.

So no, it doesn’t work, unless I’m supposed to perma-delete my post or wait 10 minutes or similar. I purged the caching plugin between refreshes as well.

---

_[View the full topic](https://meta.discourse.org/t/should-comments-webhook-update-count-after-deleting-posts-comments/336621)._
