1. Home
  2. For Devs
  3. Filter
  4. Filter bulk_webhooks http arguments

Filter bulk_webhooks http arguments

wpwhpro/run/actions/bulk_webhooks/http_arguments

Description:
This filter allows you to filter the http arguments that are used to fire the webhook call within the bulk_webhook action. The http arguments contain an array with further configuration about the webhook call itself. Please see the description of the bulk_webhooks for further details.

Parameter Type Description
$http_arguments array The http arguments based on the available arguments of the WP_Http() class
$action_key string The identifier used to address the webhook call within the JSON (The key of the webhook configuration within the JSON).
$action_data array The data you set within the JSON for the currently present webhook call.
$http_arguments = apply_filters( 'wpwhpro/run/actions/bulk_webhooks/http_arguments', $http_arguments, $action_key, $action_data );
Updated on October 18, 2021

Was this article helpful?

Related Articles