• Maybe there’s a good reason but I’m actually curious. I wasted time trying to get_posts() assuming it grabbed any post type if I didn’t specify. I feel like it should get any type by default.

    Thoughts on this?

The topic ‘Why doesn’t get_posts() default to post_type=any?’ is closed to new replies.