[Resolved] Intercepting the New “home” and “siteurl” bloginfo
In the old WP, I could run it on a local server quite easily, as the server URI was consistent. However, WP 2+ now has a couple of new options that scrag that.
I need to be able to intercept the bloginfo(‘home’) and bloginfo(‘siteurl’) to spit out a modified URI (I use a Mac with Parallels for testing, and the URI becomes a local IP). This also prevents me from just wholesale copying the WP databases for my local work.
Adding a filter for bloginfo doesn’t work, as WP just goes and executes the regular one afterwards anyway, which makes a real mess.
Even better, is there a way for my theme to intercept get_bloginfo()?
- The topic ‘[Resolved] Intercepting the New “home” and “siteurl” bloginfo’ is closed to new replies.