How does wordpress know which site to setup (on multisite)?

You can use the get_current_site() function.

Ref. : http://codex.wordpress.org/WPMU_Functions/get_current_site

Leave a Comment