WooCommerce – Change the link of the “Continue Shopping” button

Below is a quick snippet on how to change link on the “Continue Shopping” button in cart. Hope you will find it helpful.

/**
 * Redirect to a specific page when clicking on Continue Shopping button
 *
 * @return void
 */
function cart_custom_redirect_continue_shopping() {
    return 'http://www.yourwebsite.com/yourpage';
}
add_filter( 'woocommerce_continue_shopping_redirect', 'cart_custom_redirect_continue_shopping' );