Where is $posts filled?
-
So, “the Loop” starts with:
if ($posts) { foreach ($posts as $post)
Now, where does the content of $posts come from? What function should I look at to understand how this is done?
(Note: the main reason I want to know is to see how WP decides which posts to show and which to hide. So, if point me to where this decision is made, first.)
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Where is $posts filled?’ is closed to new replies.