Home » Ask (Forum) » How to remove default Password Nag After Registration

Question

Hello, can someone in here help me. I want to remove default password nag after people registration in my site. I already search in Google but still can’t found the solution. Please help me, thanks!

Aug 30, 2016 (3 months ago) - Posted by 1 Comment

One Answer

  1. Support says:

    Hi… Thank you for join in Bikin Website. I think that is very simple. Just copy paste this code in your functions.php file.
    This code will stop any notice auto generated password in WordPress.

    // BikinWebsite.com - Remove Password Nag
    function bikinwebsite_delete_pass_nag() {
    	remove_action('admin_notices','default_password_nag');
    }
    add_action('admin_notices', 'bikinwebsite_delete_pass_nag', 1);
    Team Support

Your Answer

Your email address will not be published. Required fields are marked *