[wp-hackers] switch to blog multisite
dyordan1 at ramapo.edu
Thu Dec 5 19:52:35 UTC 2013
Here's a crazy idea:
I have two multisite installs linked to the same database using shared wp_users and wp_usermeta tables and different prefixes. Sometimes, I need data from one network to be pulled into the other one. Is there any way to pull this off with switch_to_blog-ish approach? My idea - be able to switch to a blog on the other network, do things in a natural way using any wp functions and hooks I'm used to and then revert back to the original blog on the first network. Is something like that doable or should I just stick to raw MySQL queries at that point? Thanks!
Both networks have identical db connection (username/pass/domain/db/etc.) and configurations, only difference is the table prefix.
More information about the wp-hackers