Title: Admin Users Logged In
Author: Marcel Pol
Published: <strong>5. februar, 2018</strong>
Last modified: 28. september, 2026

---

Søg plugins

![](https://ps.w.org/admin-users-logged-in/assets/icon-256x256.png?rev=1818906)

# Admin Users Logged In

 Af [Marcel Pol](https://profiles.wordpress.org/mpol/)

[Download](https://downloads.wordpress.org/plugin/admin-users-logged-in.1.0.6.zip)

 * [Detaljer](https://da.wordpress.org/plugins/admin-users-logged-in/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/admin-users-logged-in/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/admin-users-logged-in/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/admin-users-logged-in/#developers)

 [Support](https://wordpress.org/support/plugin/admin-users-logged-in/)

## Beskrivelse

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

#### Compatibility

This plugin is compatible with [ClassicPress](https://www.classicpress.net).

#### Contributions

This plugin is also available in
 [Codeberg](https://codeberg.org/cyclotouriste/admin-users-logged-in).

## Skærmbilleder

[⌊Dashboard widget with admin users and their last login.⌉⌊Dashboard widget with
admin users and their last login.⌉[

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' );
    ?>
    ```

## Anmeldelser

![](https://secure.gravatar.com/avatar/ea5cf1a9df9bcd651321908528303a454c328977ac49b83465c61e850f4132b4?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-8232/)󠁿

 [Pieterjan Deneys](https://profiles.wordpress.org/nekojonez/) 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 anmeldelse ](https://wordpress.org/support/plugin/admin-users-logged-in/reviews/)

## Bidragsydere & udviklere

“Admin Users Logged In” er open source-software. Følgende personer har bidraget 
til dette plugin.

Bidragsydere

 *   [ Marcel Pol ](https://profiles.wordpress.org/mpol/)

“Admin Users Logged In” er blevet oversat til 2 sprog. Tak til [oversætterne](https://translate.wordpress.org/projects/wp-plugins/admin-users-logged-in/contributors)
for deres bidrag.

[Oversæt “Admin Users Logged In” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/admin-users-logged-in)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/admin-users-logged-in/),
tjek [SVN repository](https://plugins.svn.wordpress.org/admin-users-logged-in/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/admin-users-logged-in/)
via [RSS](https://plugins.trac.wordpress.org/log/admin-users-logged-in/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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**
 *  Senest opdateret **2 uger siden**
 *  Aktive installationer **100+**
 *  WordPress-version ** 4.4 eller højere **
 *  Testet op til **7.1.3**
 *  PHP-version ** 7.0 eller højere **
 *  Sprog
 * [Dutch](https://nl.wordpress.org/plugins/admin-users-logged-in/), [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/admin-users-logged-in/)
   og [English (US)](https://wordpress.org/plugins/admin-users-logged-in/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/admin-users-logged-in)
 * Tags
 * [admin users](https://da.wordpress.org/plugins/tags/admin-users/)[dashboard widget](https://da.wordpress.org/plugins/tags/dashboard-widget/)
   [last login](https://da.wordpress.org/plugins/tags/last-login/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/admin-users-logged-in/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  1 5-stjernet anmeldelse     ](https://wordpress.org/support/plugin/admin-users-logged-in/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/admin-users-logged-in/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/admin-users-logged-in/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/admin-users-logged-in/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/admin-users-logged-in/reviews/?filter=1)

[Din anmeldelse](https://wordpress.org/support/plugin/admin-users-logged-in/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/admin-users-logged-in/reviews/)

## Bidragsydere

 *   [ Marcel Pol ](https://profiles.wordpress.org/mpol/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/admin-users-logged-in/)