gravityflowincomingwebhook_response_pre_process

The gravityflowincomingwebhook_response_pre_process filters the processing of the webhook to be able to override the responseentirely.

Parameters

Parameter Type Definition
$response null A WP_REST_Response object to override
$request WP_REST_Request The entire request object.




Placement

This code should be placed in the functions.php file of your active theme or in a custom functions plugin.