WordPress: Bulk-delete featured images

After switching to a different theme, I wanted to bulk-delete all featured images. On https://www.wpbeginner.com/wp-tutorials/how-to-bulk-remove-featured-images-from-posts-in-wordpress/ I found the following snippet, which worked like char. Simply add it to your functions.php, refresh your site and then remove the snippet again.

Leave a Reply