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

Requests_Cookie_Jar::before_redirect_check() public WP 1.0

Parse all cookies from a response and attach them to the response

@var Requests_Response $response

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

Хуков нет.

Возвращает

Null. Ничего.

Использование

$Requests_Cookie_Jar = new Requests_Cookie_Jar();
$Requests_Cookie_Jar->before_redirect_check( $return );

Код Requests_Cookie_Jar::before_redirect_check() WP 5.5.1

wp-includes/Requests/Cookie/Jar.php
<?php
public function before_redirect_check(Requests_Response &$return) {
	$url = $return->url;
	if (!$url instanceof Requests_IRI) {
		$url = new Requests_IRI($url);
	}

	$cookies = Requests_Cookie::parse_from_headers($return->headers, $url);
	$this->cookies = array_merge($this->cookies, $cookies);
	$return->cookies = $this;
}