Custom Fields
Re-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

#11683

Anh Tran
Keymaster

Hi Juanita,

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.