Skip to:
Content
Pages
Categories
Search
Top
Bottom

redirect user to buddypress profile setting


  • Dan
    Participant

    @dkvan

    Hi;
    How do I redirect user to buddypress profile setting to change their password?

    wp_redirect( bp_settings_screen_general_settings );
    ??

    Help..
    thanks

Viewing 1 replies (of 1 total)

  • Dan
    Participant

    @dkvan

    Got this work to redirect to wp profile but i want user to redirect to buddypress profile setting page….

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

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.