wp_ext2type Wordpress function


Description:

Retrieve the file type based on the extension name.


Syntax:


Arguments:

(string) $ext The extension to search.


Return Type:

(string|null) The file type, example: audio, video, document, spreadsheet, etc. Null if not found.


Define At:

wp-includes/functions.php


Wordpress Reference URL:

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


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