How to protect WP login page using functions.php

How to protect WP login page using functions.php.
An example: GET /wp-login.php using python-requests/2.25.1

I don’t know about using functions.php but if you google how to protect wp login page you’ll find dozens of solutions.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.