wc_back_link()WC 1.0

Outputs a "back" link so admin screens can easily jump back a page.

No Hooks.

Return

null. Nothing (null).

Usage

wc_back_link( $label, $url );
$label(string) (required)
Title of the page to return to.
$url(string) (required)
URL of the page to return to.

wc_back_link() code WC 9.0.1

function wc_back_link( $label, $url ) {
	echo '<small class="wc-admin-breadcrumb"><a href="' . esc_url( $url ) . '" aria-label="' . esc_attr( $label ) . '">&#x2934;&#xfe0e;</a></small>';
}