Gets the url to the cart page.

Description Description

Return Return

(string) Url to cart page

Top ↑

Source Source

File: includes/wc-core-functions.php

function wc_get_cart_url() {
	return apply_filters( 'woocommerce_get_cart_url', wc_get_page_permalink( 'cart' ) );

Top ↑

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.