Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // add action to after registration hook
- add_action('user_register','after_reg');
- // redirect users after registration
- function after_reg() {
- wp_redirect(home_url('/thanks' ));
- exit();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement