WordPress: Bulk-delete featured images
<?php | |
global $wpdb; | |
$wpdb->query( "DELETE FROM $wpdb->postmeta WHERE meta_key = '_thumbnail_id'" ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment