Batch process: remove first image from post content

Suppose you haven’t modified anything to change the default content output, maybe this can help:

add_filter('the_content', function($content)
{
  $content = preg_replace('~^<p><img([^>]+)></p>~i', '', $content, 1);

  return $content;
}, PHP_INT_MAX);

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)