• Resolved Rahim

    (@rahimvaziri)


    Hi @nicolaskulka
    Hope you are fine.

    First of all, thank you so much for your plugin.

    Before installing your plugin I had disabled the registation on the wp-login.php page via this function:

    add_filter('option_users_can_register', function($value) {
        $script = basename(parse_url($_SERVER['SCRIPT_NAME'], PHP_URL_PATH)); 
        if ($script == 'wp-login.php') {
            $value = false;
        } 
        return $value;
    });

    How can I bring this back on the custom login page URL?

    Kind regards

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Disabling Registration’ is closed to new replies.