PHP SOAP WordPress Analyse

$xml = simplexml_load_string($response);
wp_send_json_success([ "data" => $xml ]);
reza soltani