Answers for "wp-login page"

PHP
0

wp-login page

if ( $GLOBALS['pagenow'] === 'wp-login.php' && ! empty( $_REQUEST['action'] ) && $_REQUEST['action'] === 'register' ) {
    // We're registering
}
Posted by: Guest on August-27-2021
-1

wp-login page

if ( $GLOBALS['pagenow'] === 'wp-login.php' ) {
    // We're on the login page!
}
Posted by: Guest on August-27-2021

Browse Popular Code Answers by Language