We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 075992b + e36e35a commit 12c03f6Copy full SHA for 12c03f6
remove_inline_styling_from_tag_cloud.php
@@ -0,0 +1,5 @@
1
+function remove_tagcloud_inline_styling($input){
2
+ return preg_replace('/ style=("|\')(.*?)("|\')/','',$input);
3
+}
4
+
5
+add_filter('wp_generate_tag_cloud', 'remove_tagcloud_inline_styling',10,1);
0 commit comments