Can’t filter query in pre_get_post
-
Hi,
I am updating a client to the version 6.0.3 of your plugin (because latest versions prevent saving post on Firefox). Everything is going well except that I don’t understand how you’re supposed to filter the query returned on the agenda page.
In the previous versions I filtered the query by altering tax_query and meta_query thanks to the tribe_events_pre_get_posts hook. However this hook is no longer there.
I have tried to alter the query with WordPress pre_get_posts hook but it is not altering the query as it should.
I understand that you’re selling a filter bar plugin but it used to be possible so my client expect it to work on this newer version too. Please make a doc on how to alter the query on the agenda.
Thanks
- The topic ‘Can’t filter query in pre_get_post’ is closed to new replies.