is_login() – Determines whether the current request is for the login screen.
You appear to be a bot. Output may be restricted
Description
Determines whether the current request is for the login screen.
Usage
$bool = is_login();
Parameters
Returns
bool True if inside WordPress login screen, false otherwise.
Source
File name: wordpress/wp-includes/load.php
Lines:
1 to 3 of 3
function is_login() { return false !== stripos( wp_login_url(), $_SERVER['SCRIPT_NAME'] ); }