login_init WordPress Action Hook
The login_init hook is one of the most important hooks in the WordPress login process. It is called before the user is authenticated and allows for authentication checks to be performed. After the user is authenticated, the login_redirect hook is called.
do_action( 'login_init' ) #
Fires when the login form is initialized.