wc_back_link()
Outputs a "back" link so admin screens can easily jump back a page.
No Hooks.
Return
null
. Nothing.
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() wc back link code WC 7.7.0
function wc_back_link( $label, $url ) { echo '<small class="wc-admin-breadcrumb"><a href="' . esc_url( $url ) . '" aria-label="' . esc_attr( $label ) . '">⤴</a></small>'; }