الوصف
إضافة WP Last Login آخر تسجيل دخول records when each user signs in and surfaces it as a sortable column on the Users screen — so you can see who’s active, identify dormant accounts, and confirm that real people are coming back.
Features
- Sortable “Last Login” column on the Users screen, including the network admin user list on multisite.
- Hover any date to reveal the exact login time.
- Captures logins via the standard
wp_loginaction, so it works with any login flow that triggers it — including the Two Factor plugin, WooCommerce, BuddyBoss, and most social-login plugins. - Users without a recorded login show a neutral em-dash (—) — never a misleading “never” — and still sort correctly when ordered by last login.
- Lightweight: one user meta key, no settings page, no extra database tables.
- Filter hooks let you customize the date format or hide the column from non-admin roles.
فلاتر و Hooks الإضافة
wpll_current_user_can (boolean)
ما إذا كان من المفترض أن يظهر العمود.
الافتراضي: true
wpll_date_format (string)
سلسلة صيغة التاريخ لـ مخرجات التاريخ.
التنصيب
- تنزيل WP Last Login.
- فك ضغط المجلد إلى المسار
/wp-content/plugins/. - تفعيل الإضافة من خلال قائمة ‘إضافات’ في ووردبريس.
الأسئلة المتكررّة
-
Why does the column show an em-dash (—) for all my users?
-
The plugin records a login when a user signs in after it’s been activated. WordPress doesn’t store historical login data, so existing accounts will start populating their “Last Login” the next time each user logs in. Hovering the dash shows a tooltip explaining the same.
-
How do I change the date format or show the time?
-
The date follows your site’s general date format (Settings General); the exact time appears on hover. To override the date format, use the
wpll_date_formatfilter:add_filter( 'wpll_date_format', function() { return 'Y-m-d H:i'; } ); -
How do I hide the column from non-admin users?
-
Filter
wpll_current_user_canand return a capability check. Login tracking still happens — only column visibility is gated:add_filter( 'wpll_current_user_can', function() { return current_user_can( 'manage_options' ); } ); -
Yes. The plugin hooks into WordPress’s standard
wp_loginaction, so any login method that triggers it is captured. The Two Factor plugin (which interruptswp_login) is supported via a dedicated hook. -
What happens to my data if I deactivate the plugin?
-
Deactivating leaves stored login timestamps intact, so reactivating preserves history. Uninstalling (deleting the plugin entirely) removes all of the plugin’s user meta.
المراجعات
المساهمون والمطوّرون
“إضافة WP Last Login آخر تسجيل دخول” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.
المساهمونلقد تم ترجمة ”إضافة WP Last Login آخر تسجيل دخول“ إلى 11 لغة. شكراً إلى جميع المُترجمين لمُساهماتهم.
ترجمة ”إضافة WP Last Login آخر تسجيل دخول“ إلى لغتك.
مُهتم بالتطوير؟
تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.
سجل التغييرات
7
- Added compatibility with Two Factor plugin. Props @bkno.
- Improved date display to display login time on hover.
6
- Revamped file structure to remove unnecessary files.
- Fixed a bug where login dates were overwritten on plugin reactivation. Props @richardbuff.
5
- Improved uninstall routine (no longer queries all users).
- تم تحديث فئات مساعدة.
- Tested with WordPress 6.1.
4
- Improved date display to account for the timezone of the site. Props @knutsp.
3
- تم إصلاح الخلل حيث يختفي المستخدمون الذين لم يسجلوا الدخول من قوائم المستخدمين عند الفرز عن طريق آخر تسجيل دخول. شاهد https://wordpress.org/support/topic/new-users-dont-get-the-meta-field/
2
- إصدار صيانة.
- تم تحديث الكود للالتزام بمعايير برمجة وأكواد ووردبريس.
- تم اختبارها إلى ووردبريس 5.0.
1.4.0
- تم إصلاح خطأ طويل الأمد، حيث لم يعمل فرز المستخدمين حسب آخر تسجيل دخول.
- تم اختبارها إلى ووردبريس 4.3.
1.3.0
- إصدار صيانة.
- تم اختبارها إلى ووردبريس 4.0.
1.2.1
- يعيد التغييرات إلى wp_login() حيث يبدو أن الـ argument الثانية لم يتم تعيينها في جميع الأوقات.
1.2.0
- المستخدمون الآن قابلون للفرز حسب آخر تسجيل دخول!
- تم تحديث فئات مساعدة.
- تمت إضافة الترجمة الدنماركية. بدعم من thomasclausen.
1.1.2
- تم إصلاح الخلل حيث لا يتم عرض محتوى الأعمدة المخصصة الأخرى.
1.1.1
- تم تحديث فئات مساعدة.
1.1.0
- جعل طريقة عرض العمود قابل للتصفية.
- Widened the column a bit to accommodate for large date strings.
1.0
- إصدار مبدئي.

