I would like to convert the htmlentities in only my atom feed to their corresponding characters.
Using the below in my functions.php I've gotten close, but obviously the commented out line doesn't work, and the change is applied to all of my feeds.
Is there a way to do this using filters/hooks?
Thanks.
function decode_feed_entities($content) {
return wp_kses_decode_entities($content);
}
// add_filter('do_feed_atom', 'decode_feed_entities');
add_filter('the_content_feed', 'decode_feed_entities');
add_filter('the_excerpt_rss', 'decode_feed_entities');