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

YoastSEO_Vendor\GuzzleHttp

HandlerStack::create() public Yoast 1.0

Creates a default handler stack that can be used by clients.

The returned handler will wrap the provided handler or use the most appropriate default handler for your system. The returned HandlerStack has support for cookies, redirects, HTTP error exceptions, and preparing a body before sending.

The returned handler stack can be passed to a client in the "handler" option.

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

Хуков нет.

Возвращает

HandlerStack.

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

$result = HandlerStack::create( $handler );
$handler(callable)
HTTP handler function to use with the stack. If no handler is provided, the best handler for your system will be utilized.
По умолчанию: null

Код HandlerStack::create() Yoast 15.6.2

<?php
public static function create(callable $handler = null)
{
    $stack = new self($handler ?: choose_handler());
    $stack->push(\YoastSEO_Vendor\GuzzleHttp\Middleware::httpErrors(), 'http_errors');
    $stack->push(\YoastSEO_Vendor\GuzzleHttp\Middleware::redirect(), 'allow_redirects');
    $stack->push(\YoastSEO_Vendor\GuzzleHttp\Middleware::cookies(), 'cookies');
    $stack->push(\YoastSEO_Vendor\GuzzleHttp\Middleware::prepareBody(), 'prepare_body');
    return $stack;
}