WP Last Login
Date AND time (6 posts)

  1. Frans Andersson
    Posted 2 years ago #

    Hi, I noticed this question in the old comments on the plugin webpage; Is there any way to display date AND time?


  2. NWTD
    Posted 2 years ago #

    I'd be interested in learning how to get both date and time to show up. I'm using this plugin on a multisite, so adding something to a theme's function.php is not the most ideal solution, being I'd have to do that for several different themes.

  3. incellion
    Posted 2 years ago #

    I had the same problem and I've figured it out. Add this in functions.php:

    function my_last_login( ) {
    	return 'j F Y H:i';
    add_filter('wpll_date_format', 'my_last_login');

    Of course any format will do.

  4. Shonu
    Posted 2 years ago #

    Of course it should be a checkbox in the config of the plugin, and then it should take system settings for date and time (or overriding it by configuration)
    @Author: Date and time from WP format should come out of the box


  5. NWTD
    Posted 2 years ago #

    @Shonu, I think we can all agree that these free plugins should work for what we want, but one thing to remember is that these are free and so is the support.

    Rather than exclaiming what should be, why not pass along some good karma to the plugin dev in the form of a beer to show appreciation for his work and in rice him to implement some new features...or better yet, fork the plugin on Git and contribute to the community :)

    As stated above, there is a fix to make it work and its pretty simple.

  6. edtorrey
    Posted 2 years ago #

    To expose the time with date, which functions.php, themes or core?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Last Login
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.