Heads up! This post was written 15 years ago. Some information might be outdated or may have changed since then.
function remove_image_from_strings($content) {
    $content = preg_replace("/<img[^>]+\>/i", "", $content);  
    return $content; 
}
Още една малка фунцкия която от подаден стринг ичиства всички < img > тагове

Back to all posts