How to get a link using network_home_url for sub-domains?
-
How do I use PHP to get a URL link relative to network_home_url for sub-domains?
It can be done with sub-directories, for example:
network_home_url( 'blog' )
is for:
mysite.com/blog
But how would I do this for a sub-domain, for example:
blog.mysite.com
Any help appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to get a link using network_home_url for sub-domains?’ is closed to new replies.