wpwhpro/webhooks/response_json_arguments
Description:
This filter enables you to filter all the arguments that are sent from a action response. The filter says json arguments, but you can filter them based on the given response type.
Parameter | Type | Description |
---|---|---|
$args | array |
An array of all current response settings |
$response_type | string |
The response type the data will send in. For example: json or xml |
$args = apply_filters( 'wpwhpro/webhooks/response_json_arguments', $args, $response_type );