Modify Simple XML Data

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', '&amp;lt;data/&amp;gt;', $http_args );

Updated on August 10, 2019

Was this article helpful?

Related Articles