wp_generate_tag_cloud_data

wp_generate_tag_cloud_data

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('wp_generate_tag_cloud_data') is found 1 times:

  • /wp-includes/category-template.php line 999
    	 * @since 4.3.0
    	 *
    	 * @param array[] $tags_data An array of term data arrays for terms used to generate the tag cloud.
    	 */
    	$tags_data = apply_filters( 'wp_generate_tag_cloud_data', $tags_data );
    
    	$a = array();
    
    	// Generate the output links array.
    	foreach ( $tags_data as $key => $tag_data ) {
    		$class = $tag_data['class'] . ' tag-link-position-' . ( $key + 1 );