default_topic_count_scale( int $count )

Default topic count scaling for tag links.


Description Description


Parameters Parameters

$count

(int) (Required) Number of posts with that tag.


Top ↑

Return Return

(int) Scaled count.


Top ↑

Source Source

File: wp-includes/category-template.php

function default_topic_count_scale( $count ) {
	return round( log10( $count + 1 ) * 100 );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.