WordPress at a glance
function is not described

wc_get_cart_url() WC 2.5.0

Gets the url to the cart page.

Hooks from the function
Return

String. Url to cart page

Usage

wc_get_cart_url();

Changelog

Since 2.5.0 Introduced.

Code of wc_get_cart_url() WC 5.3.0

<?php
function wc_get_cart_url() {
	return apply_filters( 'woocommerce_get_cart_url', wc_get_page_permalink( 'cart' ) );
}