Viewing 9 replies - 1 through 9 (of 9 total)
  • You absolutely can bypass the password reset.

    add_filter( 'new_user_approve_do_password_reset', '__return_false' );

    Where would you add this filter at?
    Thanks

    Disregard, I found it.

    If anyone is looking, go to PLUGINS, INSTALLED PLUGINS, NEW USER APPROVE, EDIT, PROCEED and paste the code from above in the very last line.

    Thank you, snowfence! This procedure should be included in the FAQ.

    You can add it to your functions.php file in your current theme. That is the easiest way to do it. I would not recommend modifying the plugin code as that will update and your changes will get lost.

    Josh, first, love the plugin.

    To get to the functions.php is it this way?
    from HOME, click on APPEARANCE then EDITOR, on the right side of screen fing FUNCTIONS.PHP select PROCEED then scroll to the bottom of the text and paste it in there?

    Thanks

    Snowfence. You have to edit the functions.php at wp-content/themes/your-theme

    I recommend using a child theme.

    Yes. It is best to use a child theme if it is possible. You have the right idea though. In any case, it is a good way to see if it works as you would like.

    I have added your code to my functions.php

    add_filter( 'new_user_approve_do_password_reset', '__return_false' );

    But when the user is approved the welcome email doesnt show the tag {password}.
    Any ideas how can i send the user password in the email?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Disable Randomly Generated Passwords’ is closed to new replies.