• this code redirect user wp-profile to change password at first time login:

    if ( get_user_meta( $current_user->ID, ‘force-password-change’, true ) ) {
    wp_redirect( admin_url( ‘profile.php’ ) );
    exit; // never forget this after wp_redirect!
    }

    How do I redirect user to buddypress profile setting to change password instead?

    https://localhost/xxx.com/members/userid/settings/

  • The topic ‘redirect user to bp-profile setting’ is closed to new replies.