Multisite sunrise.php correctly set current blog
-
have been attempting to use sunrise.php to set the current multisite blog.
I have tried :
wp_cache_switch_to_blog( $blog_id )
though this has no effect.`I have also tried everything in https://paulund.co.uk/wordpress-multi-site-nested-paths this tutorial, but I think this is out dated as it using site functions instead of the new blog functions.
What is the correct way to set the current multisite blog prior to theme load?
Or could some point me in the direction of which core file handles setting ti?
- This topic was modified 6 years, 11 months ago by .
- This topic was modified 6 years, 11 months ago by .
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Multisite sunrise.php correctly set current blog’ is closed to new replies.