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

YoastSEO_Vendor\Psr\Http\Message

UriInterface::withUserInfo() public Yoast 1.0

Return an instance with the specified user information.

This method MUST retain the state of the current instance, and return an instance that contains the specified user information.

Password is optional, but the user information MUST include the user; an empty string for the user is equivalent to removing user information.

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

Хуков нет.

Возвращает

static. A new instance with the specified user information.

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

$UriInterface = new UriInterface();
$UriInterface->withUserInfo( $user, $password );
$user(строка) (обязательный)
The user name to use for authority.
$password(null/строка)
The password associated with $user.

Код UriInterface::withUserInfo() Yoast 16.1.1

<?php
public function withUserInfo($user, $password = null);