Skip to content

Instantly share code, notes, and snippets.

@rynaldos
Created January 25, 2023 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rynaldos/287f0d4fd63a8007efc391614ef362f9 to your computer and use it in GitHub Desktop.
Save rynaldos/287f0d4fd63a8007efc391614ef362f9 to your computer and use it in GitHub Desktop.
Redirect "Continue shopping" notice in WooCommerce cart page
add_filter( 'woocommerce_continue_shopping_redirect', 'wc_change_continue_shopping_redirect' );
function wc_change_continue_shopping_redirect() {
return wc_get_checkout_url();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment