Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Hook for when a user first logs in

@henrywright

Moderator

Hi @ndh01

I’m not aware of a hook that fires on first login only. A way around that might be to add a meta key to the user’s meta on registration and then check for that on each login attempt. You’d need to remove the key after you’ve performed the check (if the key exists). If no key exists, then the user has logged in before. Just thinking out loud here… 🙂

Skip to toolbar