public function isLoginPage()
    {
        if (is_null($this->loginPage)) {
            $this->loginPage = (bool)in_array($this->getPageNow(), ['wp-login.php', 'wp-register.php']);
        }

        return $this->loginPage;
    }