Retrieve the post type of the current post or of a given post.
1623
Continue readingRetrieve the post status based on the Post ID.If the post ID is of an attachment, then the parent post status will be given instead.
1609
Continue readingRetrieve 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.
1597
Continue reading