Computes a unique slug for the post, when given the desired slug and some post details.
4193
Continue readingGet a filename that is sanitized and unique for the given directory.If the filename is not unique, then a number will be added to the filename before the extension, and will continue adding numbers until the filename is unique.
4191
Continue readingGenerates an excerpt from the content, if needed.The excerpt word amount will be 55 words and if the amount is greater than that, then the string ‘ […]’ will be appended to the excerpt. If the string is less than 55 words, then the content will be returned as is.
4189
Continue readingMoves a post or page to the TrashIf trash is disabled, the post or page is permanently deleted.
4185
Continue reading
wp_trash_post_comments
Moves comments for a post to the trash
4187
Continue reading →