HookPress

HookPress turns your WordPress-internal hooks into webhooks. Possible uses include generating push notifications or extending WordPress with non-PHP.

Author:mitcho (Michael Yoshitaka Erlewine) (profile at wordpress.org)
WordPress version required:3.6
WordPress version tested:4.1
Plugin version:1.14
Added to WordPress repository:28-07-2009
Last updated:31-01-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:78
Rated by:11
Plugin URI:http://mitcho.com/code/hookpress/
Total downloads:27 184
Active installs:3 000+
plugin download
Click to start download

Webhooks are a simple paradigm for developing instant notifications and mashups based on simple HTTP requests. With HookPress you can set up webhooks so that a specified URL (a public service or something you set up) is requested when certain WordPress actions occur. Possible uses include generating push notifications or using non-PHP web technology to extend WordPress.

A tutorial video is available on WordPress.tv.

As seen on WordPress.com!

To learn about the various hooks WordPress provides, please consult the WordPress Plugin API's Action Reference and Filter Reference. Not all hooks are supported yet, but more are in the works.

To learn more about webhooks, take a look at the wikipedia page and also The Pushbutton Web by Anil Dash. Webhooks champion Jeff Lindsay's excellent slides are a particularly good place to start.

To write and host a target script The easiest option is to set up a script on your own server to catch POST requests and act on them. Requestbin is a nice, free service which will host an endpoint, collect all requests, and let you inspect them, which is a great way to test requests generated by your webhooks. There is also a PHP script which does a simple version of this, test.php, included with HookPress.