wpwhpro/helpers/validate_response_body
Description:
This filter allows you manipulate the newly generated API key for the webhook action URL. You can use it to shorten or extend the length of it, change its value, etc.
Parameter | Type | Description |
---|---|---|
$return | array | The validated response body wrapped inside of an array with the array key content. |
$current_content_type | string | The content type that was parsed within the header of the request. |
$response | mixed | The raw payload of the incoming data. |
apply_filters( 'wpwhpro/helpers/validate_response_body', $return, $current_content_type, $response )