wpwhpro/run/actions/bulk_webhooks/payload_data
Description:
This filter allows you to filter the payload data that is used to fire the webhook call within the bulk_webhook action. The webhook data contains an array with the payload for the webhook call itself. Please see the description of the bulk_webhooks for further details.
Parameter | Type | Description |
---|---|---|
$payload_data | mixed | The data that is sent within the payload to the defined webhook URL. |
$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. |
$payload_data = apply_filters( 'wpwhpro/run/actions/bulk_webhooks/payload_data', $payload_data, $action_key, $action_data );