Title: Using Custom Login
Last modified: February 15, 2023

---

# Using Custom Login

 *  Resolved [sjo007](https://wordpress.org/support/users/sjo007/)
 * (@sjo007)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/using-custom-login/)
 * Hi,
 * I am using a custom login page – so the domain url ends in – https:xxxxxxxxx/
   custom-login/
 * How do I get this to work with your plugin in please as the logins are not being
   recorded.
 * Many thanks for your help !

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/using-custom-login/#post-16477705)
 * Hi there,
   This would only work if your custom login triggers the wp_login hook.
 * You would need to trigger this function in your custom login to track the user’s
   logins – [https://github.com/andrewlimaza/when-last-login/blob/dev/when-last-login.php#L189](https://github.com/andrewlimaza/when-last-login/blob/dev/when-last-login.php#L189)
 * I hope this helps get you started.
 *  Thread Starter [sjo007](https://wordpress.org/support/users/sjo007/)
 * (@sjo007)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/using-custom-login/#post-16485272)
 *  I will need to learn some php do this Andrew – thanks for the reply though and
   for trying to help me.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using Custom Login’ is closed to new replies.

 * ![](https://ps.w.org/when-last-login/assets/icon-256x256.png?rev=1665438)
 * [When Last Login](https://wordpress.org/plugins/when-last-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/when-last-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/when-last-login/)
 * [Active Topics](https://wordpress.org/support/plugin/when-last-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/when-last-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/when-last-login/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [sjo007](https://wordpress.org/support/users/sjo007/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/using-custom-login/#post-16485272)
 * Status: resolved