File: wp-includes/post.php
-
Filters the value of a specific post field to edit.
-
Filters the value of a specific field before saving.
-
functionget_available_post_mime_types()
Gets all available post MIME types for a given post type.
-
function_future_post_hook()
Hook used to schedule publication for a post marked for the future.
-
function_publish_post_hook()
Hook to schedule pings and enclosures when a post is published.
-
functionclean_post_cache()
Will clean the post in the cache.
-
Fires when _publish_post_hook() is called during an XML-RPC request.
-
hookclean_post_cache
Fires immediately after the given post’s cache is cleaned.
-
functionwp_get_post_parent_id()
Returns the ID of the post’s parent.
-
hookclean_page_cache
Fires immediately after the given page’s cache is cleaned.
-
Checks the given subset of the post hierarchy for hierarchy loops.
-
functionupdate_post_caches()
Updates post, term, and metadata caches for a list of post objects.
-
functionset_post_thumbnail()
Sets the post thumbnail (featured image) for the given post.
-
functionupdate_postmeta_cache()
Updates metadata cache for a list of post IDs.
-
functiondelete_post_thumbnail()
Removes the thumbnail (featured image) from the given post.
-
functionclean_attachment_cache()
Will clean the attachment in the cache.
-
functionwp_delete_auto_drafts()
Deletes auto-drafts for new posts that are > 7 days old.
-
Fires after the given attachment’s cache is cleaned.
-
Updates the custom taxonomies’ term counts when a post’s status is changed.
-
function_transition_post_status()
Hook for managing future post transitions to published.
-
function_prime_post_caches()
Adds any posts from the given IDs to the cache that do not already exist in cache.
-
Fires when a post’s status is transitioned from private to published.
-
hookicon_dir_uri
Filters the icon directory URI.
-
function_get_last_post_time()
Gets the timestamp of the last time any post was modified or published.
-
hookicon_dirs
Filters the array of icon directory URIs.
-
functionupdate_post_cache()
Updates posts in cache.
-
Filters the mime type icon.
-
functionwp_check_for_changed_slugs()
Checks for changed slugs for published post objects and save the old slug.
-
functionget_private_posts_cap_sql()
Retrieves the private post SQL based on capability.
-
functionget_posts_by_author_sql()
Retrieves the post SQL based on capability, author, and type.