Automattic\WooCommerce\Internal\Utilities
URL::__toString
Returns the processed URL as a string.
Метод класса: URL{}
Хуков нет.
Возвращает
string.
Использование
$URL = new URL(); $URL->__toString(): string;
Код URL::__toString() URL:: toString WC 11.3.0
public function __toString(): string {
return $this->get_url();
}