Linux 软件免费装
Banner图

HookPress

开发者 mitchoyoshitaka
automattic
更新时间 2015年1月31日 23:44
捐献地址: 去捐款
PHP版本: 3.6 及以上
WordPress版本: 4.1

标签

plugin notification action filter webhooks webhook internal hook

下载

0.1 0.1.1 0.1.10 0.1.11 0.1.2 0.1.3 0.1.4 0.1.5 0.1.6 0.1.7 0.1.8 0.1.9 1.13 1.14

详情介绍:

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. [vimeo 5905102] 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.

安装:

Upload the HookPress plugin to your blog's wp-content/plugins/ directory and activate. In the admin section, go to Settings > Webhooks to add new webhooks.

常见问题:

How does HookPress affect performance?

If you have a feature request or question, please use the HookPress support forum. HookPress currently makes requests synchronously so can measurably affect performance. I highly recommend using a caching plugin such as WP-SuperCache to stem the performance hit. If your filters' results are time-sensitive or dependent on external data sources as well, make sure to set an appropriate cache expiration time.

更新日志:

1.14 1.13 1.12 0.1.11 0.1.10 0.1.9 0.1.8 0.1.7 0.1.6 0.1.5 0.1.4 0.1.3 0.1.2 0.1.1 0.1 Future plans If you have a feature request or question, please use the HookPress support forum.