wp_match_mime_types Wordpress function


Description:

Check a MIME-Type against a list.


Syntax:


Arguments:

(string|array) $wildcard_mime_types e.g. audio/mpeg or image (same as image/*) or flash (same as *flash*).
(string|array) $real_mime_types post_mime_type values


Return Type:

(array) array(wildcard=>array(real types))


Define At:

wp-includes/post.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_match_mime_types


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×