Codex tools: Log in
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 ); ?>
wp_match_mime_types() is located in