Created
August 27, 2025 09:44
-
-
Save plugin-republic/e8fc113b610e28681140a4c10d867b09 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Redirect users after registration | |
*/ | |
function demo_registration_redirect( $redirect_url ) { | |
$redirect_url = '/shop'; // Redirect to shop | |
return $redirect_url; | |
} | |
add_filter( 'woocommerce_registration_redirect', 'demo_registration_redirect' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment