Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
RichBrun
tagDiv Member

Thank you for responding. However, the solution is not quite providing anticipated results. The instructions explain: You need to update bp_core_redirect( get_option(‘home’) . ‘/the-slug/’ ); and change /the-slug/ to the slug of the page you wish to load. What does, update bp_core_redirect( get_option(‘home’), mean? I’m not sure if I should be doing something with that part, and I’m using the latest version of BuddyPress- Version 8.0.0. Thank you, again.

function wps_redirect_bp_login() {
if( is_user_logged_in() && bp_is_register_page() ) {
bp_core_redirect( get_option(‘home’) . ‘/the-slug/’ );
}
}
add_action( ‘template_redirect’, ‘wps_redirect_bp_login’, 1 );

You need to update bp_core_redirect( get_option(‘home’) . ‘/the-slug/’ ); and change /the-slug/ to the slug of the page you wish to load.

Viewing 1 post (of 1 total)