Filter: RCB/Consent/Created/Response

apply_filters( 'RCB/Consent/Created/Response', $result, $request ) → {array}

An user has given a new consent. With this filter you can add additional response to the REST API. Internally this is used e. g. for Consent Forwarding.

Parameters:
Name Type Description
$result array
$request WP_REST_Request
Returns:
Type
array