Only get post types based on support
I am trying to retrieve a list including both builtin and custom post types: $post_types = get_post_types(array( ‘public’ => TRUE, ), ‘objects’); The above almost works, but I would like to exclude the attachment from this list, only returning post types with specific support such as editor, title and thumbnail. Is this possible? 3 s … Read more