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

YoastSEO_Vendor\GuzzleHttp\Promise

unwrap() Yoast 1.0

Waits on all of the provided promises and returns the fulfilled values.

Returns an array that contains the value of each promise (in the same order the promises were provided). An exception is thrown if any of the promises are rejected.

Хуков нет.

Возвращает

Массив.

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

unwrap( $promises );
$promises(смешанный) (обязательный)
Iterable of PromiseInterface objects to wait on.

Код unwrap() Yoast 15.6.2

<?php
function unwrap($promises)
{
    $results = [];
    foreach ($promises as $key => $promise) {
        $results[$key] = $promise->wait();
    }
    return $results;
}