Remove Featured Image From All Posts and Pages
You can use a simple SQL statement to remove a featured image from all posts, pages and custom post types in WordPress. Simply run this statement against the database:
DELETE FROM wp_postmeta WHERE meta_key = '_thumbnail_id';
Please create a backup before running this statement – if anything goes wrong!
Related Posts
- Show Featured Image in Post Single View
- Featured Image as Header Image with Fallback
- Tutorial: Ubuntu 18.04 LAMP Setup for WordPress
- Enable Asset Caching When Using Laravel
- Remove All Items from a Wordpress Navigation Menu by Code
- Get URL of Featured Image
- Manage MySQL Databases and Users from the Command Line