wpseek.com
A WordPress-centric search engine for devs and theme authors



is_login_screen › WordPress Function

Since6.1.0
Deprecatedn/a
is_login_screen ( No parameters )
See:
Returns:
  • (bool) True if inside WordPress login screen, false otherwise.
Defined at:
Codex:

Determines whether the current request is for the login screen.



Source

function is_login_screen() {
	return false !== stripos( wp_login_url(), $_SERVER['SCRIPT_NAME'] );
}