found_posts
-
Can someone please shed some light on the $wp_query->found_posts option. I did not find much on it. It seems to hold the result for all possible posts in a given query, even if the query has a limit on it.
Example: If I have 10 posts and set showposts=2, it will display 2 but say it found 10.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘found_posts’ is closed to new replies.