hitchhackerguide.com
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 …