How to change the WordPress logo link on your wp-admin page

This will change the login link that links to WordPress on your wp-admin page during the login process. A simple snippet but useful for personalising the login process.

[php]
add_filter( ‘login_headerurl’, ‘my_custom_login_url’ );
function my_custom_login_url($url) {
return ‘https://www.squareonemd.co.uk’;
}
[/php]

This can either be used as a procedural function in your functions.php file or put into a plugin file.