Support » Plugin: WP Last Login » Date AND time

Viewing 5 replies - 1 through 5 (of 5 total)
  • NWTD


    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.

    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.

    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


    @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.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Date AND time’ is closed to new replies.