Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I did my best looking for information about this subject. Your guidance is appreciated.

My goal is to perform some actions based on the number of user logins on my website per month and login days consecutivity.

How can I get a specific user Login Data (date, time... ) using wordpress functions?

If not what are the tables and fields to adress using SQL queries to get such infromation from database?

Or I should maybe create and manage my own user meta data using hooks on wp_login action?

Thank you very much.

share|improve this question
1  
Do you want the user's last login information, or all logins ever, or something in between? If the first, there's this -- wpmu.org/daily-tip-display-the-last-login-for-wordpress-users –  Pat J Jun 7 '13 at 20:59
1  
History of user logins is not natively recorded by WordPress. –  Rarst Jun 7 '13 at 21:13
1  
check out simple login log plugin –  Ravs Jun 7 '13 at 21:54
    
thank you very much @Ravs for the link –  whiteletters and blankspaces Jun 8 '13 at 13:52
    
thank you @PatJ for the link –  whiteletters and blankspaces Jun 8 '13 at 13:52
show 1 more comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.