switch_to_blog() not functioning while querying post_types, Why?
There appear to be a couple things at work here: The switch_to_blog() call does not switch plugins (see ticket #14941), so if your custom post types are defined in a plugin (as they most likely are and should be), then they won’t be loaded in a switch_to_blog() scenario. (This is highly unlikely to changed, judging … Read more