WordPress at a glance
filter is not described

widget_tag_cloud_args filter-hook . WP 2.8.0

Filters the taxonomy used in the Tag Cloud widget.

Usage

add_filter( 'widget_tag_cloud_args', 'filter_function_name_6379', 10, 2 );
function filter_function_name_6379( $args, $instance ){
	// filter...

	return $args;
}
$args(array)
Args used for the tag cloud widget.
$instance(array)
Array of settings for the current widget.

Notes

  • Since 3.0.0 Added taxonomy drop-down.
  • Since 4.9.0 Added the $instance parameter.

Where the hook is called

WP_Widget_Tag_Cloud::widget()
wp-includes/widgets/class-wp-widget-tag-cloud.php 69-73
$tag_cloud = wp_tag_cloud( apply_filters( 'widget_tag_cloud_args', array(
	'taxonomy'   => $current_taxonomy,
	'echo'       => false,
	'show_count' => $show_count,
), $instance ) );

Where the hook is used (in WP core)

Does not used.