How does pre_get_posts work?
Some of my blog entries have the following field.
‘article’ = 1
I do not want these to be displayed on my home page and I am hoping the pre_get_posts action can stop this.
There is an article here
But i can’t work out what is going on. Can this action be used to solve my problem?
- The topic ‘How does pre_get_posts work?’ is closed to new replies.