內容簡介
通知
在 60 秒的間隔內,將倒數計時通知顯示在管理列上。
當倒數計時達到 600 秒或更少時,會發送通知到彈出視窗。這個秒數可以透過過濾器鉤子更改。
過濾器鉤子
/** ==================================================
* 過濾彈出視窗倒數計時秒數的限制。
*
*/
add_filter( 'countdown_to_force_logout_limit_sec', function(){ return 300; }, 10, 1 );
外掛標籤
開發者團隊
原文外掛簡介
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 );
