Automattic\WooCommerce\StoreApi\Payments
PaymentResult::get_redirect_url
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() PaymentResult::get redirect url code WC 11.3.0
public function get_redirect_url(): string {
return $this->redirect_url;
}