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

Filter bulk_webhooks return arguments

wpwhpro/run/actions/bulk_webhooks/http_arguments

Description:
This filter allows you to filter the return arguments that are sent back to the initial webhook caller. It contains an array with the responses of the webbhook calls (If the webhook caller requests the responses) Please see the description of the bulk_webhooks for further details.

Parameter Type Description
$return_args array An array containing the response for the initial webhook caller.
$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.
$return_args = apply_filters( 'wpwhpro/run/actions/bulk_webhooks/return_args', $return_args, $actions, $response_body );
Updated on October 18, 2021

Was this article helpful?

Related Articles