File: wp-admin/includes/post.php
-
function_wp_post_thumbnail_html()
Returns HTML for the post thumbnail meta box.
-
functionwp_autosave()
Saves a post submitted with XHR.
-
Filters the admin post thumbnail HTML markup to return.
-
functionwp_check_post_lock()
Determines whether the post is currently being edited by another user.
-
Filters the number of posts displayed per page when specifically listing “posts”.
-
functionwrite_post()
Calls wp_write_post() and handles the errors.
-
functionwp_edit_attachments_query()
Executes a query for attachments. An array of WP_Query arguments can be passed in, which will override the arguments set by this function.
-
functionadd_meta()
Adds post meta data defined in the `$_POST` superglobal for a post with given ID.
-
hookupload_per_page
Filters the number of items to list per page when listing media items.
-
functiondelete_meta()
Deletes post meta data by meta ID.
-
functionpostbox_classes()
Returns the list of classes to be used by a meta box.
-
functionget_meta_keys()
Returns a list of previously defined keys.
-
Filters the postbox classes for a specific screen and screen ID combo.
-
functionget_post_meta_by_id()
Returns post meta data by meta ID.
-
functionget_sample_permalink()
Returns a sample permalink based on the post name.
-
functionhas_meta()
Returns meta data for the given post ID.
-
functionupdate_meta()
Updates post meta data by meta ID.
-
function_fix_attachment_links()
Replaces hrefs of attachment anchors with up-to-date permalinks.
-
functionget_available_post_statuses()
Returns all the possible statuses for a post type.
-
functionwp_edit_posts_query()
Runs the query to fetch the posts for listing on the edit posts page.
-
functionwp_write_post()
Creates a new post from the “Write Post” form using `$_POST` information.
-
function_wp_translate_postdata()
Renames `$_POST` data from form names to DB post columns.
-
functionedit_post()
Updates an existing post with values provided in `$_POST`.
-
functionbulk_edit_posts()
Processes the post data for the bulk editing of posts.
-
functionget_default_post_to_edit()
Returns default post information to use when populating the “Write Post” form.
-
hookdefault_content
Filters the default post content initially used in the “Write Post” form.
-
hookdefault_title
Filters the default post title initially used in the “Write Post” form.
-
hookdefault_excerpt
Filters the default post excerpt initially used in the “Write Post” form.
-
functionpost_exists()
Determines if a post exists based on title, content, date and type.
-
functionredirect_post()
Redirects to previous page.