>
Download This Plugin | |
Download Elegant Themes | |
Name | YD Webhook to XML-RPC |
Version | 0.1.0 |
Author | Yann Dubois |
Rating | 0 |
Last updated | 2011-04-29 12:56:00 |
Downloads |
1368
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
YD Webhook to XML-RPC plugin added 3 bytes of resources to the Home page and 6 bytes of resources to the sample Post page.
YD Webhook to XML-RPC plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! YD Webhook to XML-RPC plugin ads no tables to your Wordpress blog database.This plugin implements a simple gateway to transform webhook calls into regular XML-RPC calls.
WordPress has a very comprehensive XML-RPC API. This gateway will automatically accept webhook calls and convert them into XML-RPC.
It listen to Webhooks to trigger XML-RPC methods in WordPress.
It provides a simple short /webhook URL for triggering WordPress events.
From then on you can use the well-known and well-documented native WordPress XMLRPC API to respond to webhooks and implement needed features in your plugins and custom functions.
The incoming webhook POST data payload will be transferred as-is to the XML-RPC method. It should be XML for it to work well.
Needs PHP5.
If you are using pretty permalinks:
http://your-site/webhook?method=misc.method
If you are not using permalinks, you need to call the long full url:
http://your-site/wp-content/plugins/yd-webhook-to-xml-rpc/webhook.php?method=misc.method
replace misc.method
with any XML-RPC method, either WordPress built-in, or your own, or from a third-party plugin.
This gateway has successfully been used to listen to Shopify webhooks to trigger WordPress events (such as upgrade user status when a purchase has been completed).
Drop me a line on my YD Webhook to XML-RPC plugin support site to report bugs, ask for specific feature or improvement, or just tell me how you're using it.