Is there a hook that runs after a user logs in?
The action hook wp_login runs when the user logs in – it can run a simple function. function do_anything() { //do stuff } add_action(‘wp_login’, ‘do_anything’); documentation : https://codex.wordpress.org/Plugin_API/Action_Reference/wp_login The real breadwinner here is wp_authenticate which has a bit of documentation. It passes an array with the given username and password, which gives you the opportunity … Read more