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)
4 years ago
- Keywords dev-feedback removed
- Resolution set to invalid
- Status changed from new to closed