2020-05-01 / 4213阅 / 悠然
Retrieve the mime type of an attachment based>
This function can be used with any post type, but it makes more sense with attachments.
Post ID or post object. Defaults to global $post.
Default value: null
(string|false) The mime type on success, false on failure.