How to add Password field in wp registration form without using any contribute plug-in?
Step1: Call a custom function using the action ‘register_form‘
Step2: Add two input tags of type password in this custom function.
Step3: Call another custom function using the filter ‘registration_errors‘
Step4: Write the code for password complexity validation.
Step5: Call another custom function using the filter ‘random_password’
Step6: Return the user entered password in the above created custom function.
Step7: Done enjoy 🙂
Wow this is really helpful. The step by step made it a lot easier, like I know where to put everything, it’s like magic.