W3cubDocs

/WordPress

apply_filters( 'post_mime_types', array $post_mime_types )

Filters the default list of post mime types.

Description

Parameters

$post_mime_types

(array) Default list of post mime types.

Source

File: wp-includes/post.php

View on Trac

Changelog

Version Description
2.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_mime_types