woocommerce_widget_shopping_cart_button_view_cart()WC 1.0

Output the view cart button.

No Hooks.

Return

null. Nothing.

Usage

woocommerce_widget_shopping_cart_button_view_cart();

Code of woocommerce_widget_shopping_cart_button_view_cart() WC 6.8.2

function woocommerce_widget_shopping_cart_button_view_cart() {
	echo '<a href="' . esc_url( wc_get_cart_url() ) . '" class="button wc-forward">' . esc_html__( 'View cart', 'woocommerce' ) . '</a>';
}