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.
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 ) . '">⤴</a></small>'; }