wp-includes/post.php
Lines:
101 to 200 of 317
/* function get_post_meta() – Retrieves a post meta field for the given post ID. */ /* function update_post_meta() – Updates a post meta field based on the given post ID. */ /* function delete_post_meta_by_key() – Deletes everything from post meta matching the given meta key. */ /* function register_post_meta() – Registers a meta key for posts. */ /* function unregister_post_meta() – Unregisters a meta key for posts. */ /* function get_post_custom() – Retrieve post meta fields, based on post ID. */ /* function get_post_custom_keys() – Retrieve meta field names for a post. */ /* function get_post_custom_values() – Retrieve values for a custom post field. */ /* function is_sticky() – Determines whether a post is sticky. */ /* function sanitize_post() – Sanitize every post field. */ /* function sanitize_post_field() – Sanitizes a post field based on context. */ /* function stick_post() – Make a post sticky. */ /* function unstick_post() – Un-stick a post. */ /* function _count_posts_cache_key() – Return the cache key for wp_count_posts() based on the passed arguments. */ /* function wp_count_posts() – Count number of posts of a post type and if user has permissions to view. */ /* function wp_count_attachments() – Count number of attachments for the mime type(s). */ /* function get_post_mime_types() – Get default post mime types. */ /* function wp_match_mime_types() – Check a MIME-Type against a list. */ /* function wp_post_mime_type_where() – Convert MIME types into SQL. */ /* function wp_delete_post() – Trash or delete a post or page. */ /* function _reset_front_page_settings_for_post() – Reset the page_on_front, show_on_front, and page_for_post settings when a linked page is deleted or trashed. */ /* function wp_trash_post() – Move a post or page to the Trash */ /* function wp_untrash_post() – Restores a post from the Trash. */ /* function wp_trash_post_comments() – Moves comments for a post to the Trash. */ /* function wp_untrash_post_comments() – Restore comments for a post from the Trash. */ /* function wp_get_post_categories() – Retrieve the list of categories for a post. */ /* function wp_get_post_tags() – Retrieve the tags for a post. */ /* function wp_get_post_terms() – Retrieves the terms for a post. */ /* function wp_get_recent_posts() – Retrieve a number of recent posts. */ /* function wp_insert_post() – Insert or update a post. */ /* function wp_update_post() – Update a post with new post data. */ /* function wp_publish_post() – Publish a post by transitioning the post status. */ /* function check_and_publish_future_post() – Publish future post and make sure post ID has future post status. */ /* function wp_resolve_post_date() – Uses wp_checkdate to return a valid Gregorian-calendar value for post_date. */ /* function wp_unique_post_slug() – Computes a unique slug for the post, when given the desired slug and some post details. */ /* function _truncate_post_slug() – Truncate a post slug. */ /* function wp_add_post_tags() – Add tags to a post. */ /* function wp_set_post_tags() – Set the tags for a post. */ /* function wp_set_post_terms() – Set the terms for a post. */ /* function wp_set_post_categories() – Set categories for a post. */ /* function wp_transition_post_status() – Fires actions related to the transitioning of a post’s status. */ /* function wp_after_insert_post() – Fires actions after a post, its terms and meta data has been saved. */ // // Comment, trackback, and pingback functions. // /* function add_ping() – Add a URL to those already pinged. */ /* function get_enclosed() – Retrieve enclosures already enclosed for a post. */ /* function get_pung() – Retrieve URLs already pinged for a post. */ /* function get_to_ping() – Retrieve URLs that need to be pinged. */ /* function trackback_url_list() – Do trackbacks for a list of URLs. */ // // Page functions.