default_topic_count_scale()
最后更新于:2021-11-25 23:51:21
default_topic_count_scale( int$count)Default topic count scaling for tag links.
参数
- $count
-
(int) (Required) Number of posts with that tag.
响应
(int) Scaled count.
源文件
文件: gc-includes/category-template.php
function default_topic_count_scale( $count ) {
return round( log10( $count + 1 ) * 100 );
}