add_post_type_support() Registers support of certain features for a post type.
remove_post_type_support() Removes support for a feature from a post type.
get_all_post_type_supports() Gets all the post type features
post_type_supports() Checks a post type's support for a given feature.
get_post_types_by_support() Retrieves a list of post type names that support a specific feature.
set_post_type() Updates the post type for the post ID.
is_post_type_viewable() Determines whether a post type is considered "viewable".
is_post_status_viewable() Determines whether a post status is considered "viewable".
is_post_publicly_viewable() Determines whether a post is publicly viewable.
is_post_embeddable() Determines whether a post is embeddable.
get_posts() Retrieves an array of the latest posts, or posts matching the given criteria.
add_post_meta() Adds a meta field to the given post.
delete_post_meta() Deletes a post meta field for the given post ID.
get_post_meta() Retrieves a post meta field for the given post ID.
update_post_meta() Updates a post meta field based on the given post ID.
delete_post_meta_by_key() Deletes everything from post meta matching the given meta key.
register_post_meta() Registers a meta key for posts.
unregister_post_meta() Unregisters a meta key for posts.
get_post_custom() Retrieves post meta fields, based on post ID.
get_post_custom_keys() Retrieves meta field names for a post.
get_post_custom_values() Retrieves values for a custom post field.
is_sticky() Determines whether a post is sticky.
sanitize_post() Sanitizes every post field.
sanitize_post_field() Sanitizes a post field based on context.
stick_post() Makes a post sticky.
unstick_post() Un-sticks a post.
_count_posts_cache_key() Returns the cache key for wp_count_posts() based on the passed arguments.
wp_count_posts() Counts number of posts of a post type and if user has permissions to view.
wp_count_attachments() Counts number of attachments for the mime type(s).
get_post_mime_types() Gets default post mime types.
wp_match_mime_types() Checks a MIME-Type against a list.
wp_post_mime_type_where() Converts MIME types into SQL.
wp_delete_post() Trashes or deletes a post or page.
_reset_front_page_settings_for_post() Resets the page_on_front, show_on_front, and page_for_post settings when
wp_trash_post() Moves a post or page to the Trash
wp_untrash_post() Restores a post from the Trash.
wp_trash_post_comments() Moves comments for a post to the Trash.
wp_untrash_post_comments() Restores comments for a post from the Trash.
wp_get_post_categories() Retrieves the list of categories for a post.
wp_get_post_tags() Retrieves the tags for a post.
wp_get_post_terms() Retrieves the terms for a post.
wp_get_recent_posts() Retrieves a number of recent posts.
wp_insert_post() Inserts or update a post.
wp_update_post() Updates a post with new post data.
wp_publish_post() Publishes a post by transitioning the post status.
check_and_publish_future_post() Publishes future post and make sure post ID has future post status.
wp_resolve_post_date() Uses wp_checkdate to return a valid Gregorian-calendar value for post_date.
wp_unique_post_slug() Computes a unique slug for the post, when given the desired slug and some post details.
_truncate_post_slug() Truncates a post slug.
wp_add_post_tags() Adds tags to a post.