wc_back_link( string $label, string $url )

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


Description Description


Parameters Parameters

$label

(Required) Title of the page to return to.

$url

(Required) URL of the page to return to.


Top ↑

Source Source

File: includes/wc-core-functions.php

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


Top ↑

User Contributed Notes User Contributed Notes

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