How to Remove the WordPress link from login

Let me first remember you how we played with the WordPress Login:

I was wondering How to remove the link from the login page. I could not find any solution so I posted in our forums.

Rubén showed me the way to get his working.

1. Functions.php

Open your functions.php located in your theme folder (if it doesn't exist, create it).

2. Add the function

Add this function and change the return URL as you wish 😉

function put_my_url(){ return ""; // your URL here } add_filter('login_headerurl', 'put_my_url');

About Ricard Torres

Senior Front-end Software Engineer from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

@ricard_dev @ricard_dev

📝 Blog 🎙 Podcast


Leave a Reply

Add <code> Some Code </code> by using this tags.