1. Home
  2. For Devs
  3. Filter
  4. Filter Webhook API Attributes
  1. Home
  2. Plugins
  3. WP Webhooks
  4. For Devs
  5. Filter
  6. Filter Webhook API Attributes

Filter Webhook API Attributes


This filter allows you to filter the given parameters of a specified webhook URL. This hook will be interesting for you if you want to parse your own parameters with a given- or all webhooks.

Parameter Type Description
array() array An array of the api key data for a specific webhook. Default is the webhook action and the api key

* Filter the URL args for a specified webhook
$args = apply_filters( 'wpwhpro/admin/webhooks/url_args', array(
$this->webhook_ident_param => $webhook,
'wpwhpro_api_key' => $api_key
) );

Updated on August 10, 2019

Was this article helpful?

Related Articles