Automattic\WooCommerce\Internal\Utilities

URL::__toString()publicWC 1.0

Returns the processed URL as a string.

Method of the class: URL{}

No Hooks.

Return

String.

Usage

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

URL::__toString() code WC 8.7.0

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