Index: wp-includes/post.php
===================================================================
--- wp-includes/post.php	(revision 33585)
+++ wp-includes/post.php	(working copy)
@@ -1198,6 +1198,40 @@
 }
 
 /**
+ * Get a list of post type names that support a specific feature.
+ *
+ * @since 4.4.0
+ *
+ * @uses get_post_types_by_support Get a list of post type names that support a specific feature.
+ * 
+ * @param array  $features Array of a support features.
+ * @param string $operator Operator for retrieving post types by multiple features.
+ *                         Default: 'and' ('or' is only other option)
+ *
+ * @return array $post_types Array of post type names that support a feature.
+ */
+function get_post_types_by_supports( $features, $operator = 'and' ) {
+	$features = ! is_array( $features ) ? (array) $features : $features;
+	$supports = array();
+
+	if ( 'and' === strtolower( $operator ) ) {
+		foreach ( $features as $feature ) {
+			$supports[ $feature ] = true;
+		}
+
+		return get_post_types_by_support( $supports );
+	} else {
+		$post_types = array();
+		foreach ( $features as $feature ) {
+			$post_types = array_merge( $post_types, get_post_types_by_support( $feature ) );
+		}
+
+		return array_unique( $post_types );
+	}
+
+}
+
+/**
  * Register a post type. Do not use before init.
  *
  * A function for creating or modifying a post type based on the
