Tag Archives: codex

get_post_status

Retrieve 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 reading

get_post_mime_type

Retrieve 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