Thanks for that! It took me a while to figure out how to get this to work with the WordPress REST API. Here’s a basic skeleton plugin for adding a custom endpoint to WordPress for processing a Discourse webhook request.
GitHub - scossar/wp-discourse-custom-webhook-request: A skeleton plugin for processing a webhook request to a custom endpoint from Discourse to WordPress. · GitHub
4 Likes