redirect user to bp-profile setting
-
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?
- The topic ‘redirect user to bp-profile setting’ is closed to new replies.