wpwhpro/admin/webhooks/simplexml_data
Description:
This filter allows you to modify the default simple xml data. It can be used to globally customize the output of the root xml element.
Parameter | Type | Description |
---|---|---|
‘<data/>’ | string |
The data that we sent to SimpleXMLElement |
$http_args | array |
An array containing all of the available http data set by WP Webhooks |
$sxml_data = apply_filters( 'wpwhpro/admin/webhooks/simplexml_data', '&lt;data/&gt;', $http_args );