1. Home
  2. Developer Docs
  3. General
  4. How to modify/change the homepage link in the Logo?

How to modify/change the homepage link in the Logo?

If you want to modify or change the homepage link in the logo then you can use the below filter.

Add this code into a custom plugin and modify the $url, that should do the trick for you.

Example code:

function prefix_modify_url($url){
return $url;

Note: No need to change this code in our core plugin(AMpforWp)

That’s it for this tutorial!

We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.

Ask your Questions Directly!
If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!
Updated on May 7, 2020

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support


    1. Hi Chandan Sharma,

      Will you please elaborate more about your issue so that we will understand and help you.

Leave a Comment