You can use basic WordPress filters to change the output using various functions. wp_generate_tag_cloud()has a filter that allows you to edit line input. Below is a function that redefines a string, finds the inline style, and removes it.
add_filter('wp_generate_tag_cloud', 'xf_tag_cloud',10,3);
function xf_tag_cloud($tag_string){
return preg_replace("/style='font-size:.+pt;'/", '', $tag_string);
}
Rezen source
share