Need to delete images:

  1. thumbs, meta_key = _thumbnail_id
  2. attached images. For example meta_key = 'image_upload_9860026864', I don't know what the digits at the end. Inside a:3:{i:0;s:6:"126306";i:1;s:6:"126307";i:2;s:6:"126308";}.

from posts (DB and files) with post_status = 'spam'.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.