4

For what purpose following parameter is used

caller_get_posts

2
  • 4
    It's deprecated, it's the same as the new ignore_sticky_posts parameter, which when set to true excludes sticky posts from your query.
    – t31os
    Commented Feb 21, 2012 at 12:55
  • @MarkDuncan it does not exclude sticky posts from query. It does show the posts but in their normal order and those are not on the top of other posts. Commented Jan 8, 2019 at 10:46

2 Answers 2

10

If caller_ get_ posts is set to true (or 1) then Sticky posts will be excluded from being returned first.

Its kind of a way to turn sticky posts off in a query.

5

Notice:

caller_get_posts is deprecated since version 3.1!

Use ignore_sticky_posts instead.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.