Category: WordPress

0

XML to PHP array convert

function xml2array1($url, $get_attributes = 1, $priority = ‘tag’) { $contents = “”; if (!function_exists(‘xml_parser_create’)) { return array (); } $parser...