How to use pre_get_posts

Question

I’m a little stuck on how this hook is used. Does it go in the search template? Or is it used on the archive page? Also, does it work differently when I’m querying a taxonomy archive page?

Thanks in advance.

0
, Laura Sage 4 years 2020-03-25T08:50:56-05:00 0 Answers 117 views 0

Leave an answer

Browse
Browse