wpwhpro/helpers/request_return_value
Description:
This filter allows you to modify the filtered request return value from the incoming response. This makes sense if you parse special data that needs to be modified in your own way. Let’s assume you, for example, send through an encrypted string that needs to be validated against a special hash. This filter allows you exactly to do that.
Parameter | Type | Description |
---|---|---|
$return | string |
The value you sent through in a pre validated way |
$content | mixed |
The original response as we receive it |
$key | string |
The key we try to get a value for |
return apply_filters( 'wpwhpro/helpers/request_return_value', $return, $content, $key );