Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

WooCommerce Snippets

Just a handy collection of small snippets for customising WooCommerce.

<?php
// Redirect user after registration.
add_filter( 'woocommerce_registration_redirect', function () {
return home_url('thankyou');
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment