Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes

How would I use pre_get_posts to query another site for posts in my multisite network?

Afaik there is no built in way to query posts of different Multisite instances, so you can only build a custom query, use "switch_to_blog" in a loop with all blogs, or use a custom WP_Query ...
andyrandy's user avatar
  • 123

Top 50 recent answers are included