Warning: This method has been deprecated. in favor to wc_get_checkout_url() instead.

WC_Legacy_Cart::get_checkout_url()

Gets the url to the checkout page.


Description Description


Return Return

(string) url to page


Top ↑

Source Source

File: includes/legacy/class-wc-legacy-cart.php

	public function get_checkout_url() {
		wc_deprecated_function( 'WC_Cart::get_checkout_url', '2.5', 'wc_get_checkout_url' );
		return wc_get_checkout_url();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.