Best WordPress Plugin for Custom Fields & Meta Boxes
Custom FieldsRe-Envisioned › Support › MB Relationships › ✅pre_get_posts to get all posts connected to single object › Reply To: pre_get_posts to get all posts connected to single object
The parse_query hook runs just before pre_get_posts and there’s nothing between them. See this screenshot:
View post on imgur.com
So, if your code works with pre_get_posts, it should work with parse_query. I guess the problem might come from other things.