get_permalink to wc_get_page_permalink Updated

This commit is contained in:
Vignesh 2015-07-14 17:51:40 +05:30
parent 8bf1cf60c5
commit e702d47a17
1 changed files with 1 additions and 1 deletions

View File

@ -19,4 +19,4 @@ if ( ! defined( 'ABSPATH' ) ) {
<?php do_action( 'woocommerce_cart_has_errors' ); ?>
<p><a class="button wc-backward" href="<?php echo get_permalink(wc_get_page_id( 'cart' ) ); ?>"><?php _e( 'Return To Cart', 'woocommerce' ) ?></a></p>
<p><a class="button wc-backward" href="<?php echo wc_get_page_permalink( 'cart' ); ?>"><?php _e( 'Return To Cart', 'woocommerce' ) ?></a></p>