Hi,
Please try adding the below snippet to the bp-custom.php file to redirect users after they register
COPY CODE
function bp_redirect($user) {
$redirect_url = 'http://www.mysite.com/my/page';
wp_redirect($redirect_url);
}
add_action('bp_core_signup_user', 'bp_redirect', 100, 1);
Change the URL from http://www.mysite.com/my/page to your desired page.
If you do not already have a bp-custom.php file create you can download the below attached file, unzip and upload this directly into the /wp-content/plugins/ folder. Please note you will still need to update the code within the PHP file to suit your needs (domain / page).
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Attachments:
You must be
logged in to view attached files.