Tag Cloud generation return object for manipulation
|Reported by:||ysalame||Owned by:|
"wp_generate_tag_cloud" and "wp_tag_cloud" functions in "/wp-includes/category-template.php" only return html or an array of html links as a result.
To manipulate the result you must use filters which on certain cases are not the most efficient way to do it.
I´ve attached a patch to include a new format in the args array as "object". This will create an object with enough data on it so that it can be manipulated accordingly.
ps. first time submiter.