php - How to dynamically switch databases at loadtime in Wordpress? -


what i'd have 2 or more wp databses under same instalation, each own posts, , dynamically switch between them @ loading time.

for example, instead of directly plugging wp when visitor loads site, first run php script geo-location , based on script's result tell wp database load up.

i know switch_blog understand it's backend technique it's expensive run on front-end.

thanks


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -