Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

LH Webhooks Api

Descripción

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.

Instalación

  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

Preguntas frecuentes

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’.

Colaboradores y desarrolladores

«LH Webhooks Api» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «LH Webhooks Api» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.00 March 20, 2018
Initial release.