wpwhpro/admin/webhooks/url_args
Description:
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 ) );