Automattic\WooCommerce\StoreApi\Payments

PaymentResult::get_redirect_url │ public │ WC 11.2.0

Get the redirect URL.

Method of the class: PaymentResult{}

No Hooks.

Returns

string. URL the customer is sent to after checkout, empty when none was set.

Usage

$PaymentResult = new PaymentResult();
$PaymentResult->get_redirect_url(): string;

Changelog

Since 11.2.0 Introduced.

PaymentResult::get_redirect_url() code WC 11.3.0

public function get_redirect_url(): string {
	return $this->redirect_url;
}