Support » Plugin: WP Last Login » [Plugin: WP Last Login] Just viewable by admins?

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

    (@kobenland)

    Good idea Skinny!

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

    Xavvi

    (@skinny-latte)

    Perfect! Thanks

    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…

    Plugin Author Konstantin Obenland

    (@obenland)

    Code Wizard

    KOB

    (@kobenland)

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP Last Login] Just viewable by admins?’ is closed to new replies.