wp_check_for_changed_dates()
Check for changed dates for published post objects and save the old date.
Check for changed dates for published post objects and save the old date.
Check for changed slugs for published post objects and save the old slug.
Check the given subset of the post hierarchy for hierarchy loops.
Count number of attachments for the mime type(s).
Count number of posts of a post type and if user has permissions to view.
Trash or delete an attachment.
Deletes all files that belong to the given attachment.
Delete auto-drafts for new posts that are > 7 days old.
Trash or delete a post or page.
Retrieves the caption for an attachment.