WordPress at a glance
function is not described

get_post_mime_types() WP 2.9.0

Get default post mime types.

Hooks in function

Array. List of post mime types.



Code of get post mime types: wp-includes/post.php VER 5.0.3

function get_post_mime_types() {
	$post_mime_types = array(	//	array( adj, noun )
		'image' => array(__('Images'), __('Manage Images'), _n_noop('Image <span class="count">(%s)</span>', 'Images <span class="count">(%s)</span>')),
		'audio' => array(__('Audio'), __('Manage Audio'), _n_noop('Audio <span class="count">(%s)</span>', 'Audio <span class="count">(%s)</span>')),
		'video' => array(__('Video'), __('Manage Video'), _n_noop('Video <span class="count">(%s)</span>', 'Video <span class="count">(%s)</span>')),

	 * Filters the default list of post mime types.
	 * @since 2.5.0
	 * @param array $post_mime_types Default list of post mime types.
	return apply_filters( 'post_mime_types', $post_mime_types );