AUTO LOGOUT EXTENDED

自動ログアウト除外ユーザ設定を追加
This commit is contained in:
2021-07-02 18:54:27 +09:00
parent 6d4b4c813d
commit adc35d3e8a
8 changed files with 91 additions and 4 deletions
+4
View File
@@ -13,6 +13,10 @@ if ( ! trait_exists( 'al_ext_trait' ) ) {
* 拡張ログアウトの一時Cookie作成
*/
public function set_al_ext_cookie() {
//自動ログアウト除外ユーザの判定
if ( $this->is_exclude_user() ) {
return;
}
if ( is_user_logged_in() ) {
//rememberme cookieが存在する場合は一時Cookieを作成する
if ( isset( $_COOKIE[ al_ext_config::AL_EXT_REMEMBER_COOKIE ] )