1. Home
  2. For Devs
  3. Filter
  4. Filter Bulk webhooks data

Filter Bulk webhooks data

wpwhpro/run/actions/bulk_webhooks/webhook_data

Description:
This filter allows you to filter the webhook data that is used to fire the webhook call. The webhook data contains an array with settings about the webhook call itself. Please see the description of the bulk_webhooks for further details.

Parameter Type Description
$webhook_data array The webhook data you can manipulate
$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.
$webhook_data = apply_filters( 'wpwhpro/run/actions/bulk_webhooks/webhook_data', $webhook_data, $action_key, $action_data );
Updated on October 18, 2021

Was this article helpful?

Related Articles