Admin Users Logged In
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 .
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 .
A closer look.
Installation
- 01Install the plugin through the admin page “Plugins”.
- 02Alternatively, unpack and upload the contents of the zipfile to your ‘/wp-content/plugins/’ directory.
- 03Activate the plugin through the ‘Plugins’ menu in WordPress.
- 04Visit 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' ); ?>