1 comment

  1. Don’t modify core, use the actions and hooks system instead

    add_action( 'login_init', 'yourloginoverrides' );
    
    function yourloginoverrides() {
        // do some check and call wp_redirect if its true or whatever you wanted to do
    }
    

Comments are closed.