"false", 'redirect' => '', 'layout' => 'column', 'login_page' => 'false', ], $attributes, 'almefy-login'); $showWhenLoggedIn = $attributes['show_when_logged_in'] == 'true'; $redirect = $attributes['redirect']; $layout_column = $attributes['layout'] == 'column'; $login_page = $attributes['login_page'] == 'true'; if (!$showWhenLoggedIn && is_user_logged_in()) { return ''; } // RENDER if (!$login_page) { return $this->html($redirect, $layout_column); } else { return $this->login_page_html($redirect); } }); } // We can't insert HTML into the login page regularly, so we must use js. public function login_page_html($redirect) { ob_start(); ?> request ) ); } // append "redirect" parameter to plain wordpress permalinks. if(strpos($auth_url, "rest_route=") !== false) { $auth_url .= "&redirect=$redirect"; } else { $auth_url .= "?redirect=$redirect"; } $nonce = wp_create_nonce('wp_rest'); $login_id = "almefy-login-" . mt_rand(); ob_start(); ?>
">

to scan the code.', 'almefy-me') ?>
Almefy App.', 'almefy-me') ?>
To do so, the login through username and password will be disabled.
Just use the Almefy App to login.
Secure, Simple, Fast.", "almefy-me") ?>