There’s a couple of filters that could be useful for you:
bbp_user_register_redirect_to
bbp_user_lost_password_redirect_to
These pass a URL to the filter callback that is where bbPress will redirect users after they register or use the lost password form. You simply return whatever URL you want it to redirect users to instead and that URL will be where users are taken. In my case, I send them back to the forum home using bbp_get_forums_url().
For editing their profile, the templates provided in the bbPress plugin directory can help. Look in bbp-themes/ or bbp-theme-compat/extras/ for single-user-edit.
Hello! I am very new to filters. Anyway you could post some samples of bbp_user_register_redirect_to and reidrecting them to bbp_get_forums_url() ?
add_filter('bbp_user_register_redirect_to', 'my_custom_redirect_function');
function my_custom_redirect_function($redirect_url) {
$forums_url = bbp_get_forums_url();
return $forums_url;
}
A filter is basically what it sounds: it passes the callback function a parameter, then you filter that parameter. Often, you do processing on the parameter and then return it, but in the code I posted, I’m ignoring the URL sent to the filter callback and returning the forums url.