I try to call a function everytime a user login to website.
I succeeded with the wp_login
hook for user who fill the login form.
However I can't find a hook for an user which has the "remember me" option activated when he come back to website (so he already have a login cookie).
I checked wp_validate_auth_cookie()
function but this one is fired on each page: is Wordpress doing a check for "remember me" cookie on each page and then set user logged?
Thanks