Where Is Post Content Saved in WordPress?

When you publish a post to your blog, WordPress saves the post in the post’s database, as well as in the WordPress media library. This way, you can always find and access the post even if you lose your WordPress site or switch to a new one.

However, if you delete a post from your blog, WordPress doesn’t permanently delete the post from your blog’s database and media library. This means that if you later decide to restore a post from backup, you can find and publish it again.

Furthermore, if you edit a post and then save it, WordPress saves the updated post in both the post’s database and the media library. So, even if you delete the original post and then restore it, WordPress will still include the updated version.