wpseek.com
WordPress开发者和主题制作者的搜索引擎
get_post_mime_type › WordPress Function
Since2.0.0
已弃用n/a
› get_post_mime_type ( $post = null )
参数: |
|
返回: |
|
定义在: |
|
文档: |
Retrieves the mime type of an attachment based on the ID.
This function can be used with any post type, but it makes more sense with attachments.Related Functions: get_post_mime_types, get_post_type, get_post_types, get_post_timestamp, get_post_time