WordPress File wp-includes/pluggable.php

authenticate

Filters whether a set of user login credentials are valid.