Change Login Logo URL

We can Change the Login Logo from the default WordPress logo to something else, but what if you also want to change the Link that the logo points to, to go from www.wordpress.com to someplace else?

There is a different hook for that. Add this to functions.php.

Code Snippet:

<?php
add_filter( 'login_headerurl', 'my_custom_login_url' );
function my_custom_login_url($url) {
	return 'http://www.example.com';
}
?>

Posted in Admin area