Support » Plugins and Hacks » Hacks » how do Login with query string? Test or user in in DB

Viewing 1 replies (of 1 total)
  • If you are just looking to see if the user is registered, you only need the username and not the password. This piece of code will work.

    <?php
    $wp_user_id = username_exists( $wp_username );
    if ( !$wp_user_id ) {
    		//no user found
    	} else {
    		//user found
    	}
    
    ?>
Viewing 1 replies (of 1 total)
  • The topic ‘how do Login with query string? Test or user in in DB’ is closed to new replies.