Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Pavan,

    WordPress asks for emails so that it can do things like forgotten passwords, and notifications, so it’s worth factoring into your management system plans.

    WordPress won’t actually check that the email addresses that you provide it are real, though, so you can go ahead and just make up fake ones. You could use a system like username@organisation.com.

    Nabil

    (@nabil_kadimi)

    Check this code, and extend it to be more secure and more useful

    Add it to your plugin/theme functions.php file.

    add_action('registration_errors', 'ignore_errors', 10, 3);
    function ignore_errors($errors, $sanitized_user_login, $user_email) {
    	return new WP_Error();
    }

    Oh I just registred on my test blog, but no password, so…I let you figure it out…

    Thread Starter pathardepavan

    (@pathardepavan)

    Thank you @luke Carbis and @nabil for your suggestion.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘User without email id field’ is closed to new replies.