Codex tools: Log in
Contents |
Check a MIME-Type against a list.
If the wildcard_mime_types parameter is a string, it must be comma separated list. If the real_mime_types is a string, it is also comma separated to create the list.
<?php wp_match_mime_types( $wildcard_mime_types, $real_mime_types ); ?>
Since: 2.5
wp_match_mime_types() is located in wp-includes/post.php