WordPress.org

Ready to get started?Download WordPress

Forums

WP Last Login
[resolved] Just viewable by admins? (6 posts)

  1. Skinny_Latte
    Member
    Posted 2 years ago #

    Hi,

    Lovely useful plugin. Will there be a setting to allow only admins to see when people last logged in? That would be nice

    http://wordpress.org/extend/plugins/wp-last-login/

  2. Konstantin Obenland
    Member
    Plugin Author

    Posted 2 years ago #

    Good idea Skinny!

    I'll add a filter so you can hook into it and restrict access.
    Look for it in the next version! :)

  3. Skinny_Latte
    Member
    Posted 2 years ago #

    Perfect! Thanks

  4. kcwebguy
    Member
    Posted 2 years ago #

    Great plugin. Thanks for creating it.

    I would like to see the date and time both. Can you provide an update or a code change that would display the date as:

    MonthAsString D, YYYY HH:MM:SS TT

    I would be most grateful.

    Thanks...

  5. Konstantin Obenland
    Theme Wrangler
    Plugin Author

    Posted 2 years ago #


  6. Konstantin Obenland
    Member
    Plugin Author

    Posted 2 years ago #

    To change the date format, you can hook into the wpll_date_format Filter like so:

    function custom_date_format( $format ) {
    	return get_option('date_format') . ' ' . get_option('time_format');
    }
    add_filter( 'wpll_date_format', 'custom_date_format' );

    This way it'll use the default date/time format of your site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic