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

YoastSEO_Vendor\GuzzleHttp\Handler

CurlFactory::release() public Yoast 1.0

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

Хуков нет.

Возвращает

Null. Ничего.

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

$CurlFactory = new CurlFactory();
$CurlFactory->release( \YoastSEO_Vendor\GuzzleHttp\Handler\EasyHandle $easy );

Код CurlFactory::release() Yoast 15.6.2

<?php
public function release(\YoastSEO_Vendor\GuzzleHttp\Handler\EasyHandle $easy)
{
    $resource = $easy->handle;
    unset($easy->handle);
    if (\count($this->handles) >= $this->maxHandles) {
        \curl_close($resource);
    } else {
        // Remove all callback functions as they can hold onto references
        // and are not cleaned up by curl_reset. Using curl_setopt_array
        // does not work for some reason, so removing each one
        // individually.
        \curl_setopt($resource, \CURLOPT_HEADERFUNCTION, null);
        \curl_setopt($resource, \CURLOPT_READFUNCTION, null);
        \curl_setopt($resource, \CURLOPT_WRITEFUNCTION, null);
        \curl_setopt($resource, \CURLOPT_PROGRESSFUNCTION, null);
        \curl_reset($resource);
        $this->handles[] = $resource;
    }
}