Deletes a revision.Deletes the row from the posts table corresponding to the specified revision.
3597
Continue readingDeletes a revision.Deletes the row from the posts table corresponding to the specified revision.
3597
Continue readingCount number of posts of a post type and is user has permissions to view.This function provides an efficient method of finding the amount of post’s type a blog has. Another method is to count the amount of items in get_posts(), but that method has a lot of overhead with doing so. Therefore, when developing for 2.5+, use this function instead.
3501
Continue reading
wp_delete_post
Trashes or deletes a post or page.When the post and page is permanently deleted, everything that is tied to it is deleted also. This includes comments, post meta fields, and terms associated with the post.
3595
Continue reading →