Hi, I am trying to redirect a user to a specific page in my child theme after they submit registration. I am hooking onto the 'user_register_completed' hook, which fires in UserActions dot php right after the user's information is saved to the database and right before osclass itself redirects to either the home page or login page based on the site settings.
The contents of my function is very simple, just a call to osc_current_web_theme_path( 'my-page.php' ), followed by die(). However, the function is not working.
For the sake of testing, I have tried substituting my function into the core CWebRegister class in place of the home url redirect that would normally be there. In that case, my function works, but I do not want to actually modify the core files. Can anyone point me in the direction of a solution? Thanks.