File: wp-includes/post.php
-
functionuse_block_editor_for_post()
Returns whether the post can be edited in the block editor.
-
functionwp_check_for_changed_dates()
Checks for changed dates for published post objects and save the old date.
-
functionwp_delete_attachment_files()
Deletes all files that belong to the given attachment.
-
functionregister_post_meta()
Registers a meta key for posts.
-
functionunregister_post_meta()
Unregisters a meta key for posts.
-
function_wp_privacy_statuses()
Returns statuses for privacy requests.
-
hookpre_untrash_post
Filters whether a post untrashing should take place.
-
hookpre_trash_post
Filters whether a post trashing should take place.
-
Filters the attachment caption.
-
functionwp_get_attachment_caption()
Retrieves the caption for an attachment.
-
hookpost_unstuck
Fires once a post has been removed from the sticky list.
-
hookpost_stuck
Fires once a post has been added to the sticky list.
-
Queues posts for lazy-loading of term meta.
-
Adds a suffix if any trashed posts have a given slug.
-
Adds a trashed suffix for a given post.
-
functionget_post_types_by_support()
Retrieves a list of post type names that support a specific feature.
-
functionunregister_post_type()
Unregisters a post type.
-
Fires after a post type was unregistered.
-
Pre-filter the return value of get_lastpostmodified() before the query is run.
-
hookget_page_uri
Filters the URI for a page.
-
Fires once an existing attachment has been updated.
-
hookpre_delete_post
Filters whether a post deletion should take place.
-
functionis_post_type_viewable()
Determines whether a post type is considered “viewable”.
-
hookget_post_status
Filters the post status.
-
hookadd_attachment
Fires once an attachment has been added.
-
functionwp_attachment_is()
Verifies an attachment is of a given type.
-
functionget_children()
Retrieves all children of the post parent ID.