Thank you very much for your response, agelonwl.
I’ve not learned how to use hooks yet so, unfortunately, I didn’t know where to use the code you provided.
I tried it at the bottom of my child theme’s functions.php file (within opening and closing php tags) but that resulted in a broken login page (I’ve since fixed functions.php via ftp).
Would you mind providing a bit more detail?
Thanks!