remove images from the the content 28 29

Solutions on MaxInterview for remove images from the the content 28 29 by the best coders in the world

showing results for - "remove images from the the content 28 29"
Mia
02 Apr 2016
1<?php 
2$content = get_the_content();
3$content = preg_replace("/<img[^>]+\>/i", "(image) ", $content);          
4$content = apply_filters('the_content', $content);
5$content = str_replace(']]>', ']]>', $content);
6echo $content;
7?>
8
similar questions
queries leading to this page
remove images from the the content 28 29