Deze plugin is niet getest met de laatste 3 grotere versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

LH Webhooks Api

Omschrijving

This plugin allows you to create and delete token authenticated webhook enpoints for WordPress users (as many as you need).

It also comes with a programming api to define methods which is the action is taken on the data posted to said endpoints.

Installatie

  1. Upload the entire lh-webhooks-api folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to Settings->Webhooks and create endpoints

FAQ

Installation Instructions
  1. Upload the entire lh-webhooks-api folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to Settings->Webhooks and create endpoints
How do I programatically define a new method for handling data posted to the webhooks?
  • Each webhook msut have a method, this is passed to the endpoint as a GET string i.e. ?method=my_post_handler.
    What happens to the posted data is defined by you programically by you. An example method ‘log_via_email’ is defined in the code (with explanatory comments).

The first step is to define the allowed methods, via the lh_webhooks_api_allowed_methods filter.

The second step is to define what happens to the posted data. this is done via a variable filter, i.e. lh_webhooks_api_**** , where the **** portion of the filter name is the name of your method. in the example this is ‘lh_webhooks_api_log_via_email’.

Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

Bijdragers & ontwikkelaars

“LH Webhooks Api” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Vertaal “LH Webhooks Api” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

1.00 March 20, 2018
Initial release.