Show/hide menu items to logged in users, logged out users or specific user roles. Display logged in user details in menu. Add a logout link to menu.
Inactive Logout
Hospedagem WordPress com plugin Inactive Logout
Onde hospedar o plugin Inactive Logout?
Este plugin pode ser hospedado em qualquer hospedagem que possua WordPress configurado. Recomendamos utilizar um provedor de hospedagem de confiança, com servidores adaptados para WordPress, como o serviço de hospedagem de sites da MCO2.
Hospedando o plugin Inactive Logout em uma empresa de hospedagem seguro
A MCO2, além de instalar o WordPress na versão mais atual para seus clientes, oferece o WP SafePress, um mecanismo exclusivo que assegura e melhora seu site ao mesmo tempo.
Por que a Hospedagem WordPress funciona melhor na MCO2?
A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização automática de imagens e fotos, proteção da página de login, bloqueio de atividades suspeitas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São recursos que potencializam seu WordPress para a máxima segurança e o máximo desempenho.
Inactive Logout helps protect WordPress accounts from unauthorized access, account sharing, and abandoned sessions. After activation, idle logout is enabled with a default 15-minute timeout, which you can change under Settings Inactive Logout.
The plugin tracks activity for logged-in users on both the backend and frontend. You can show a countdown warning, log users out immediately, or use Show Popup Message Only to display a Wake-Up reminder without ending the session. When that mode is enabled, the popup can also be shown to logged-out visitors by choosing To all Users for Show Popup Behaviour.
It runs for logged-in users in wp-admin and on the front end. Wake-up messages can also be shown to visitors who are not logged in when Popup Behaviour is set to all users.
Try it out: Demo
Why Inactive Logout
- Prevent Unauthorized Access: Automatically close abandoned sessions on office, library, clinic, or shared computers.
- Stop Account Sharing: Limit concurrent logins so paid members or team accounts can’t share credentials across multiple devices.
- Meet Security & Compliance Standards: Enforce session and login policies that can help support GDPR, financial, or enterprise security workflows. Your overall compliance still depends on your full site configuration and processes.
- Keep Users Informed, Not Frustrated: Warn users with a clean countdown before logging them out—or use a non-destructive “Wake Up” prompt to keep them engaged.
Features
Idle logout & Warnings
- Flexible Timers: Set idle timeouts anywhere from 1 minute to 24 hours (1,440 minutes).
- Graceful Countdowns: Display a modal countdown or subtle bottom-bar timer before ending a session—or log users out immediately.
- Wake-Up Mode: Show a gentle reminder popup to idle users (or even logged-out visitors) without forcing a logout.
- Full Message Control: Customize warning titles, idle alerts, button text, and post-logout notifications to match your brand voice.
- Multisite Ready: Enforce global timeout policies across an entire WordPress Multisite network from one screen.
Limit Login & Session Control
- Prevent Account Sharing: Cap the number of active sessions per user. When the limit is reached, choose to Logout Oldest, Logout All, or Block New logins. Limits apply at login, so changing settings never ends an existing session.
- Role-Based Rules: Apply custom timeouts, logout redirects, idle-logout exclusions, and login-limit enforcement by user role. Per-role and per-user login limit numbers are available in Pro.Ω
- Custom Session Lengths: Override WordPress defaults with separate expiration rules for standard logins and “Remember Me” sessions.
Logout experience
- Custom Redirects: Send logged-out users to a custom login page, security notice, or external URL automatically—or after they click OK.
- Optional Logout Toasts: Enable a short notification after automatic or manual logout, with separate messages for idle and manual reasons. Toast notifications are off by default.
For developers
- Translation-ready, with several translations included.
- Hooks for extending redirect and concurrent-login behavior.
Upgrade to Inactive Logout Pro
Need granular user tracking, stricter security locks, or multi-tab precision? Inactive Logout Pro gives growing businesses and membership sites complete session visibility and control:
- Stop Multi-Tab & Browser-Close Leaks: Automatically terminate sessions the moment a user closes their browser, with full synchronization across multiple open tabs.
- Complete User Activity & Audit Logs: Track login/logout timestamps, session duration, IP address, browser, OS, user role, and real-time online status.
- Instant Force Logout: Immediately kick out a single user, bulk-select accounts, or log out everyone on your site with one click.
- Per-User Overrides & Account Locks: Set custom rules for individual VIP users, automatically lock accounts that hit login limits, and trigger instant email alerts.
- Visual Modal Customizer: Style your timeout popups to match your site design—and remove WordPress’s clunky default logout confirmation screen.
Pro Version Features
Inactive Logout Pro is the paid add-on for Inactive Logout. It Adds:
- Session Sync Across Tabs & Browsers: When an idle user is logged out, their other WordPress sessions are ended too. Open tabs in other browsers are redirected on their next session check, and admin-forced logouts are announced to the user’s open tabs.
- Browser Close Logout: Log users out shortly after they close their browser or tab, with a configurable grace timer of up to 10 minutes.
- Complete User Activity History: Track login and logout time, active session duration, IP address, browser, operating system, role, and online status. Filter, export, and print session history from the admin dashboard.
- Mini Track Sessions Panel: Review recent users, roles, active sessions, last login, IP address, and online status directly from the settings screen, with filters and a link to the full history report.
- Instant Force Logout: Log out a single user, selected users, or all users from the Users screen. Pro also adds a “Recent User Logins” dashboard widget.
- Per-User Overrides & Role/User Login Limits: Configure custom timeout, redirect, and login-limit rules for individual users. User-based settings take precedence over role-based settings, and a frontend shortcode lets allowed users control their own timeout.
- Account Locks & Email Alerts: Lock accounts that reach the login limit, notify admins and users by email, customize the blocked/unlocked messages, and give legitimate users a self-service unlock form.
- Visual Modal Customizer: Style the timeout and wake-up popups to match your site design, and hide WordPress’s native session-expiration popup when needed.
- Scheduled & Targeted Logouts: Run a daily logout by time, excluded days, and roles. Disable idle logout for mobile users, selected pages, or selected post types.
- Admin Controls & Maintenance: Import/export settings, enable diagnostic logs, set automatic history retention, and delete the Pro history table on deactivation if needed.
- WP-CLI Support: Log out a specific user or all users, and trigger inactive-session cleanup from the command line.
Enjoying Inactive Logout?
If this plugin helps keep your site safe, please consider leaving a 5-star review—it helps other WordPress site owners discover the plugin!
Capturas de tela

Showing Inactive Logout Settings Page.

Wakeup functionality message box.

Session going to logout if continue is clicked then session will not end.

Multi User Role Screen
