Fix docblock for wc_back_link function
This commit is contained in:
parent
1ee2b431a3
commit
e6e2a7ed42
|
@ -938,9 +938,9 @@ function wc_get_shipping_zone( $package ) {
|
|||
|
||||
/**
|
||||
* Outputs a "back" link so admin screens can easily jump back a page.
|
||||
|
||||
* @param string $label Title of the page to return to
|
||||
* @param string $url URL of the page to return to
|
||||
*
|
||||
* @param string $label Title of the page to return to.
|
||||
* @param string $url URL of the page to return to.
|
||||
*/
|
||||
function wc_back_link( $label, $url ) {
|
||||
echo '<small class="wc-admin-breadcrumb"><a href="' . esc_url( $url ) . '" title="' . esc_attr( $label ) . '">↩</a></small>';
|
||||
|
|
Loading…
Reference in New Issue