• Resolved saeb

    (@saeb)


    hi there,
    I want redirect to change-password page,
    now I set url hardcoded like
    wp_redirect( "/lp-profile/$user_login/settings/change-password/" );
    how I can make it dynamic? so if admin changed page url still my url points to change password page?

Viewing 1 replies (of 1 total)
  • Thread Starter saeb

    (@saeb)

    
    $profile_page = get_option( 'learn_press_profile_page_id' );
    $user_login   = wp_get_current_user()->user_login;
    $change_password_url = "/?p=$profile_page&user=$user_login&view=settings&section=change-password";
    				
    
Viewing 1 replies (of 1 total)
  • The topic ‘what is change-password page parameters’ is closed to new replies.