Display the Woocommerce Product Tags in a simple list

Default setting of the WordPress WooCommerce Product Tag Widget displays the tags in a cloud. If you want to display the tags in a simple list, add the follow code to the function.php file:

add_filter('woocommerce_product_tag_cloud_widget_args', 'nwb_woo_tag_cloud_filter');
function nwb_woo_tag_cloud_filter($args) {
	$args = array(
		'smallest' => 14, 
		'largest' => 14, 
		'format' => 'list', 
		'taxonomy' => 'product_tag', 
		'unit' => 'px', 
	return $args;