wp_check_filetype Wordpress function


Description:

Retrieve the file type from the file name.


Syntax:


Arguments:

(string) $filename File name or path.
(array) $mimes Optional. Key is the file extension with value as the mime type.


Return Type:

(array) Values with extension first and mime type.


Define At:

wp-includes/functions.php


Wordpress Reference URL:

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


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