WordPress Fundamental — Medium
Key points
- `pre_get_posts` runs before the main query executes
- It allows modification of query variables
- It does not validate content before publishing posts
- It does not execute before retrieving posts from the database cache
Ready to go further?
Related questions
