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.

add_filter( ‘login_headerurl’, ‘my_custom_login_url’ );
function my_custom_login_url($url) {
return ‘https://squareonemd.test’;

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

Leave a Reply

Your email address will not be published. Required fields are marked *