wphooks.info - widget_tag_cloud_args

widget_tag_cloud_args

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/widgets/class-wp-widget-tag-cloud.php:
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
		 *
		 * @since 2.8.0
		 * @since 3.0.0 Added taxonomy drop-down.
		 * @since 4.9.0 Added the `$instance` parameter.
		 *
		 * @see wp_tag_cloud()
		 *
		 * @param array $args     Args used for the tag cloud widget.
		 * @param array $instance Array of settings for the current widget.
		 */
		$tag_cloud = wp_tag_cloud( apply_filters( 'widget_tag_cloud_args', array(
			'taxonomy'   => $current_taxonomy,
			'echo'       => false,
			'show_count' => $show_count,
		), $instance ) );

		if ( empty( $tag_cloud ) ) {
			return;
		}