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

What are custom_css and customize_changeset used for?

A fresh wordpress install has the following post types: Post (Post Type: ‘post’) Page (Post Type: ‘page’) Attachment (Post Type: ‘attachment’) Revision (Post Type: ‘revision’) Navigation Menu (Post Type: ‘nav_menu_item’) Custom CSS (Post Type: ‘custom_css’) Changesets (Post Type: ‘customize_changeset’) https://codex.wordpress.org/Post_Types doesn’t address what the final two are used for. Could anyone explain? 1 1 The … Read more