get_post_mime_type() Function: Retrieve the mime type of an attachment based on the ID. Source: wp-includes/post.php:677 Used by 3 functions | Uses 1 function