Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Filter site_url() to always point to main blog/site (Help request)


Brajesh Singh
Participant

@sbrajesh

@stwc :)
@mikepratt
In that case, you will have to cap on “bp_core_get_root_domain”, as this is what used by the userlink.

`
add_filter(“bp_core_get_root_domain”,”my_site_url”);//just removing the effect of BP_ENABLE_MULTIBLOG on the urls
`
This will do things like change all the references of sub blog used by buddypress to point to main site not the sub blog. I hope it helps :)

Skip to toolbar