get_post_mime_type Wordpress function


Description:

Retrieve the mime type of an attachment based on the ID.


Syntax:


Arguments:

(int) $ID Optional. Post ID.


Return Type:

(bool|string) False on failure or returns the mime type


Define At:

wp-includes/post.php


Wordpress Reference URL:

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


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