Add this code to your functions.php
function mdc_remove_img($content) {
$content = preg_replace("/<img[^>]+\>/i", "", $content);
return $content;
}
add_filter( 'the_content', 'mdc_remove_img' );
Add this code to your functions.php
function mdc_remove_img($content) {
$content = preg_replace("/<img[^>]+\>/i", "", $content);
return $content;
}
add_filter( 'the_content', 'mdc_remove_img' );