get_posts(array('post_type' => 'any')) Should include custom post types in result
|Reported by:||keendev||Owned by:|
|Component:||Posts, Post Types||Keywords:||reporter-feedback|
I have a post type called with the id of 'career'. When I use post_type => 'any' I don't get results from this post type even though it is set to public. Are custom post types automatically ignored when using 'any'?
When replacing 'any' with 'career' it works fine.
Change History (8)
comment:6 @aaronholbrook — 22 months ago
- Keywords dev-feedback removed
- Resolution set to invalid
- Status changed from new to closed