Switch language
wpseek on Twitter


A WordPress-centric search engine for devs and theme authors




get_all_post_type_supports [ ]

get_all_post_type_supports ( $post_type )
Parameters:
  • (string) $post_type The post type
Returns:
  • (array)
Defined at:
Codex



Get all the post type features

Source

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();
}

Top Google Search Results

More ...

User discussions [ wordpress.org ]

User Note(s)