Countdown to force logout
v1.10Katsushi Kawamori · 2022年8月11日 上架
Notify each logged-in user of the countdown to forced logout in the admin bar.
- 正在使用
- 20+
- 评分
- 暂无
- 累计下载
- 6,568
- 最近更新
- 2026年8月16日
需要 WordPress 6.6+已测试到 7.1.5PHP 8.0+
截图
Notifies
- Notifies a countdown to the admin bar at 60 second intervals.
- When the countdown reaches 600 seconds or less, a notification is sent to the modal window. This number of seconds can be changed by the filter hook.
Filter hooks
/** ==================================================
* Filter for countdown limit second for modal window view.
*
*/
add_filter( 'countdown_to_force_logout_limit_sec', function(){ return 300; }, 10, 1 );

