Custom login method appears to ignore auth_cookie_expiration
This is what I ended up adding to my plugin, and users report that it has been successful: add_action( ‘wp_login’, array( $this, ‘after_successful_login’ ), 10, 2 ); /** * Make sure the auth cookie is set when a user logs in * * @param string $login The user’s username * @param object $user The logged … Read more