wpwhpro/helpers/convert_to_xml_int_prefix
Description:
This filter allows you to modify the prefix that is set in front of integer values to make the XML valid.
Parameter | Type | Description |
---|---|---|
‘wpwh_’ | string |
The prefix for the integer element |
$object | OBJECT (SimpleXMLElement) |
The SimpleXMLElement object. |
$data | array |
The data that should be converted. |
$prefix = apply_filters( 'wpwhpro/helpers/convert_to_xml_int_prefix', 'wpwh_', $object, $data );