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
October 20, 2018 at 8:18 AM #11683
Hi Juanita,
The parse_query
hook runs just before pre_get_posts
and there’s nothing between them. See this screenshot:
So, if your code works with pre_get_posts
, it should work with parse_query
. I guess the problem might come from other things.