Home / Login / Disable Login by Email Use Snippet Add to Library Share Snippet Embed Snippet Duplicate Snippet FacebookTweetLinkedIn Embed Snippet on Your Site <iframe src="https://library.wpcode.com/embed/y266082k/" width="100%" height="210" allowtransparency="true" allow="clipboard-write" frameborder="0"></iframe> Copy Disable Login by Email Force your users to login only using their username. WPCode Team 23 200+ Code Preview Comments php<?phpremove_filter( 'authenticate', 'wp_authenticate_email_password', 20 );
Already have an account? Login Please enable JavaScript in your browser to complete this form.Email *Name *FirstLastUsername *Password *Register Don't have an account? Register now Username or Email Address Password Remember Me
Comments