Vladimir Grba

How to create custom reset or forget password in wordpress

Many Personal, Blog and or even Business sites that are now running in WordPress platform, the easy and customizable CMS today and when the site goes larger, ineluctable it need custom functionality like Create Custom Reset/Forget Password, Update Profile where user can update their personal information without accessing admin panel and in this tutorial I would like to share you how we can achieve Forgot/reset password functionality using built-in WP functions, it’s very simple just follow the step by step process below.

PHP code

This contains PHP script to update user password and send email containing new password if successful.

This contains simple HTML form code where we put our new password for reset.

Page Template

Below is the complete custom reset password source code you can try just copy and paste the snippet below to try it yourself.

To those who didn’t know yet how to create custom page template visit WP Codex for complete and detailed tutorial.

Useful links:

Source: Sutana Ryan