WordPress.org

Forums

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

  1. Xavvi
    Member
    Posted 3 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. KOB
    Member
    Posted 3 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. Xavvi
    Member
    Posted 3 years ago #

    Perfect! Thanks

  4. kcwebguy
    Member
    Posted 3 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
    Code Wizard
    Plugin Author

    Posted 3 years ago #


  6. KOB
    Member
    Posted 3 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

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

About this Topic