WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

Requests::parse_multiple() public WP 1.0

Callback for transport.internal.parse_response

Internal use only. Converts a raw HTTP response to a Requests_Response while still executing a multiple request.

{} Это метод класса: Requests{}

Хуков нет.


null. $response is either set to a Requests_Response instance, or a Requests_Exception object


$result = Requests::parse_multiple( $response, $request );
$response(строка) (обязательный)
Full response text including headers and body (will be overwritten with Response instance)
$request(массив) (обязательный)
Request data as passed into Requests::request_multiple()

Код Requests::parse_multiple() WP 5.7

public static function parse_multiple(&$response, $request) {
	try {
		$url = $request['url'];
		$headers = $request['headers'];
		$data = $request['data'];
		$options = $request['options'];
		$response = self::parse_response($response, $url, $headers, $data, $options);
	catch (Requests_Exception $e) {
		$response = $e;