apply_filters( 'post_mime_types', array $post_mime_types )
Filters the default list of post mime types.
Parameters
- $post_mime_types
-
(array) Default list of post mime types.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_mime_types