Automattic\WooCommerce\Internal\Utilities

URL::__toString()publicWC 1.0

Returns the processed URL as a string.

Метод класса: URL{}

Хуков нет.

Возвращает

Строку.

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

$URL = new URL();
$URL->__toString(): string;

Код URL::__toString() WC 9.7.1

public function __toString(): string {
	return $this->get_url();
}