WordPress at a glance
function is not described

get_all_post_type_supports() WP 3.4.0

Get all the post type features

  • Global. Array. $_wp_post_type_features

No Hooks.


Array. Post type supports list.


get_all_post_type_supports( $post_type );
$post_type(string) (required)
The post type.

Code of get all post type supports: wp-includes/post.php WP 5.2.1

function get_all_post_type_supports( $post_type ) {
	global $_wp_post_type_features;

	if ( isset( $_wp_post_type_features[ $post_type ] ) ) {
		return $_wp_post_type_features[ $post_type ];

	return array();