WP Multisite and accessing different tables.
-
Hey, so I’m wrapping the shortcode with the switch_to_blog() function but it still doesn’t load other tables from other sites, is there a way I can grab other tables on other sites within the Multisite install?
switch_to_blog(1); do_shortcode( '[table id=2 /]'); restore_current_blog();
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘WP Multisite and accessing different tables.’ is closed to new replies.