if(count($results) == 0) { $errors[] = “Please enter valid Email Address/Username.”; } else { $username = $results[0]->username; $password = $results[0]->mob_number; $email = $results[0]->email;
wp_mail($email, “CGIF Forgot Password”, “Your Username\nUsername: “.$username.” and Password: “. $password ); wp_redirect(” http://cgif.org.in/index.php/member_registration/”); exit; } } echo “
‘; [/insert_php] Forgot Password