Wednesday, May 7, 2014

Remove shortcode from the_content_rss


 
function filter_shortcode_from_content_rss($content) {
$content = strip_shortcodes($content);
return $content;
}
add_filter('the_content_rss', 'filter_shortcode_from_content_rss');