How to change WordPress Login logo

You can change the WordPress logo on the Login page using the following PHP function.

Copy the following code & place it in functions.php file of your active theme.

Replace the url field with the path to your logo.

function my_login_logo_one() { 
?> 
<style type="text/css"> 
body.login div#login h1 a {
 background-image: url(/wp-content/uploads/2019/11/HeyHelio-Admin-Logo.png);  //Add your own logo image in this url 
padding-bottom: 30px; 
} 
</style>
 <?php 
} add_action( 'login_enqueue_scripts', 'my_login_logo_one' );