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


UriInterface::withScheme() public Yoast 1.0

Return an instance with the specified scheme.

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

Implementations MUST support the schemes "http" and "https" case insensitively, and MAY accommodate other schemes if required.

An empty scheme is equivalent to removing the scheme.

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

Хуков нет.


static. A new instance with the specified scheme.


$UriInterface = new UriInterface();
$UriInterface->withScheme( $scheme );
$scheme(строка) (обязательный)
The scheme to use with the new instance.

Код UriInterface::withScheme() Yoast 16.2

public function withScheme($scheme);