# Webhook names query/inconsistent?

**URL:** https://meta.discourse.org/t/webhook-names-query-inconsistent/384881
**Category:** WordPress
**Created:** [October 7, 2025, 11:51am UTC](https://meta.discourse.org/t/webhook-names-query-inconsistent/384881 "2025-10-07T11:51:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![TimMOz](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@TimMOz](https://meta.discourse.org/u/TimMOz)
#### Post date: [October 7, 2025, 11:51am UTC](https://meta.discourse.org/t/webhook-names-query-inconsistent/384881/1 "2025-10-07T11:51:57Z")

</div>

Hi, I am new to this and just building a test setup and trying to get commenting web-hooks working between a test discourse and test wordpress install.

When I edit a post reply in Discourse, it triggers the webhook to fails with ‘The webhook event is not supported’, in response to a X-Discourse-Event: post\_edited call from Discourse.

Looking at the plugin code in sync-discourse-topic.php line 49, it looks like it is expecting post\_updated, not post\_edited.

Not sure if something has changed or if it is something in my test discourse system.

If I add post\_edited (and post\_destroyed) to the code at line 49 it all works fine. The webhook is configured for post\_created\_event, post\_edited\_event, post\_destroyed\_event, post\_recovered\_event.

Latest wordpress (6.8.3), plugin (2.5.9), discourse (v3.6.0.beta1+124).

Thanks - any help appreciated.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [October 20, 2025, 7:35pm UTC](https://meta.discourse.org/t/webhook-names-query-inconsistent/384881/2 "2025-10-20T19:35:16Z")

</div>

Looks like your topic didn’t find any takers! Sorry about that. Were you able to figure out a solution on your own? If so, can you share it here?

---

<div class="post-metadata">

### Author: ![TimMOz](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@TimMOz](https://meta.discourse.org/u/TimMOz)
#### Post date: [October 21, 2025, 5:55am UTC](https://meta.discourse.org/t/webhook-names-query-inconsistent/384881/3 "2025-10-21T05:55:08Z")

</div>

Hi, thanks for that … I have resolved (or worked around) by adding some supported events to the code around line 49 of sync-discourse-topic.php …

```plaintext
    $this->supported_events = array(
        'post_created',
        'post_updated',
        'post_edited',
        'post_destroyed',
        'post_recovered',
    );

```

Looks like as this just triggers it to re-read, that was all that was needed.

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [October 21, 2025, 8:39am UTC](https://meta.discourse.org/t/webhook-names-query-inconsistent/384881/4 "2025-10-21T08:39:10Z")

</div>

Thanks for this Tim, and apologies for not responding sooner. I missed your topic somehow! We’re going to make an update to the webhook names in the next version of the plugin.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [October 29, 2025, 2:38pm UTC](https://meta.discourse.org/t/webhook-names-query-inconsistent/384881/5 "2025-10-29T14:38:54Z")

</div>

Is this issue resolved now?
