WordPress.org

Svenska

  • Teman
  • Tillägg
  • Nytt
  • Support
  • Om…
  • Mönster
  • Engagera dig!
  • Skaffa WordPress
Skaffa WordPress
WordPress.org

Plugin Directory

Admin Users Logged In

  • Skicka in ett tillägg
  • Mina favoriter
  • Logga in
  • Skicka in ett tillägg
  • Mina favoriter
  • Logga in

Admin Users Logged In

Av Marcel Pol
Ladda ner
  • Detaljer
  • Recensioner
  • Installation
  • Utveckling
Support

Beskrivning

Dashboard widget that shows admin users and when they were last logged in.

Compatibility

This plugin is compatible with ClassicPress.

Contributions

This plugin is also available in
Codeberg.

Skärmdumpar

  • Dashboard widget with admin users and their last login.

Installation

Installation

  • Install the plugin through the admin page ”Plugins”.
  • Alternatively, unpack and upload the contents of the zipfile to your ’/wp-content/plugins/’ directory.
  • Activate the plugin through the ’Plugins’ menu in WordPress.
  • Visit the Dashboard. That’s it.

PHP filters for Custom Roles

This first filter is for showing an additional role in the widget.

<?php
    function my_auli_get_role__in( $role__in ) {
        $role__in[] = 'Subscriber';
        return $role__in;
    }
    add_filter( 'auli_get_role__in', 'my_auli_get_role__in' );
?>

This second filter is for who gets to see the widget.

<?php
    function my_auli_show_for_role__in( $role__in ) {
        $role__in[] = 'Customrole';
        return $role__in;
    }
    add_filter( 'auli_show_for_role__in', 'my_auli_show_for_role__in' );
?>

Recensioner

Perfect

Pieterjan Deneys 2 juni 2021
Thanks to the easily editable language file, I was able to translate this plugin to my wishes. 🙂 Edit: which is now possible! THANKS!
Läs 1 betyg

Bidragsgivare och utvecklare

”Admin Users Logged In” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer
  • Marcel Pol

”Admin Users Logged In” har översatts till 2 språk. Tack till översättarna för deras bidrag.

Översätt ”Admin Users Logged In” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.0.6

  • 2024-10-02
  • Loading plugin translations should be delayed until init action (in this case admin_init).
  • Use DIR for loading translations instead of dirname(FILE).
  • Better check for direct access of files.

1.0.5

  • 2022-05-11
  • Add filter ’auli_get_role__in’ for showing users with these roles.
  • Remove check for shown users based on capability.
  • Add filter ’auli_show_for_role__in’ for allowing users to see this widget.
  • No need to check if function ’current_user_can()’ exists.

1.0.4

  • 2021-06-01
  • Support translations.

1.0.3

  • 2021-05-31
  • Small updates from wpcs.

1.0.2

  • 2018-02-06
  • Fix the location of closing (outside the loop).

1.0.1

  • 2018-02-03
  • Only show the widget on capability ’edit_posts’.

1.0.0

  • 2018-01-18
  • First release.

Meta

  • Version 1.0.6
  • Senast uppdaterat 8 månader sedan
  • Aktiva installationer 100+
  • WordPress-version 4.4 eller senare
  • Testat upp till 6.8.3
  • PHP-version 7.0 eller senare
  • Språk

    Dutch, Dutch (Belgium) och English (US).

    Översätt till ditt språk

  • Etiketter
    dashboard widgetlast login
  • Avancerad vy

Betyg

5 av 5 stjärnor.
  • 1 5-stjärnig recension 5 stjärnor 1
  • 0 4-stjärniga recensioner 4 stjärnor 0
  • 0 3-stjärniga recensioner 3 stjärnor 0
  • 0 2-stjärniga recensioner 2 stjärnor 0
  • 0 1-stjärniga recensioner 1 stjärna 0

Lägg till min recension

Se alla recensioner

Bidragande personer

  • Marcel Pol

Support

Har du något att säga? Behöver du hjälp?

Visa supportforum

  • Om
  • Nyheter
  • Webbhotell (hosting)
  • Integritet
  • Showcase
  • Teman
  • Tillägg
  • Mönster
  • Lär dig
  • Support
  • Utvecklare
  • WordPress.tv ↗
  • Engagera dig
  • Evenemang
  • Donera ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Svenska

  • Besök vår X-konto (f.d. Twitter)
  • Besök vårt Bluesky-konto
  • Besök vårt Mastodon-konto
  • Besök vårt Thread-konto
  • Besök vår Facebook-sida
  • Besök vårt Instagram-konto
  • Besök vårt LinkedIn-konto
  • Besök vårt TikTok-konto
  • Besök vår YouTube-kanal
  • Besök vårt Tumblr-konto
Kod är poesi.