Answer by Gaurav for Remove HTML from PHP String - Wordpress RSS Feed Template
use this one.wp_filter_nohtml_kses( string $data );check this link.https://developer.wordpress.org/reference/functions/wp_filter_nohtml_kses/
View ArticleAnswer by James for Remove HTML from PHP String - Wordpress RSS Feed Template
You can wrap str_replace with strip_tags like this:<?phpfunction the_content(){ echo '<p> Content</p>';}$content = the_content();echo str_replace('...
View ArticleRemove HTML from PHP String - Wordpress RSS Feed Template
Thanks for all the help; nothing working as of yet, so adding more detail.I'm using the below function in functions.php to allow me to use my own RSS template, which is working fine.add_action('init',...
View Article
More Pages to Explore .....