How to remove “http://” When Echoing URL?

bloginfo echos its result, this is why your attempt to “get the value” and manipulate it results in nothing, as no value is actually being returned. If you want to get the relevant value you should use get_bloginfo instead

Leave a Comment