WordPress Strip HTML tags from the_terms

The bellow function will strip html from the_terms, just copy and paste it to your functions.php

<?php
 
//WordPress - strip html from the_terms
 
add_filter('the_terms', 'function_filter_terms',10,5);
 
function function_filter_terms($term_list, $taxonomy, $before, $sep, $after){
     return strip_tags($term_list);
}
?>

Related posts:

Partner with Us

We are providing an exclusive partnership offer to individuals and companies who are interested in setting up their own web design & development company. For more information about how to partner with us, please contact us