1. Home
  2. Plugins
  3. WP Webhooks
  4. For Devs
  5. Filter
  6. Filter Request Return Value
  1. Home
  2. For Devs
  3. Filter
  4. Filter Request Return Value

Filter Request Return Value

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 );

Updated on August 10, 2019

Was this article helpful?

Related Articles