Filter Response Type

wpwhpro/webhooks/response_response_type

Description:
This filter enables you to change the current response type. The default response type is json.

Parameter Type Description
$response_type string

The response type the data will send in. For example: json or xml

$args array

An array containing all the arguments that are going to be sent as a response.

 

$response_type = apply_filters( 'wpwhpro/webhooks/response_response_type', $response_type );
Updated on September 22, 2020

Was this article helpful?

Related Articles