Inspiration For Creative Minds
Home » Labs » WordPress Strip HTML tags from the_terms  

Filed under Labs

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);
}
?>
It's only fair to share...Share on Google+Tweet about this on TwitterShare on Facebook
Labs

Posts you may like: