woothemes/woocommerce — Issue #464: Filter Checkout Redirection
Author: spencerfinnell
Created: 2012-01-05 19:01:28+00:00
State: open

Checkout URL redirects should be filterable.

Something like this (around lines 572, 589, 592) in `checkout.class.php` -- I think those are the only ones that need to be filtered.

```php
wp_safe_redirect( apply_filters( 'woocommerce_checkout_no_payment_needed_redirect', get_permalink( get_option( 'woocommerce_thanks_page_id' ) ), $order ) );
```

Would allow customers to be redirected based on certain aspects of their order (or what they ordered).

Thanks,
Spencer