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.
源代码
File: wp-includes/category-template.php
function default_topic_count_scale( $count ) {
return round(log10($count + 1) * 100);
}
更新日志
Version | 描述 |
---|---|
2.9.0 | Introduced. |
User Contributed Notes
你可能对这些文章感兴趣:
- wordpress函数gd_edit_image_support()用法示例
- wordpress函数gallery_shortcode()用法示例
- wordpress函数funky_javascript_callback()用法示例
- wordpress函数funky_javascript_fix()用法示例
- wordpress函数format_to_edit()用法示例
- wordpress函数format_to_post()用法示例
- wordpress函数form_option()用法示例
- wordpress函数force_ssl_login()用法示例
- wordpress函数format_code_lang()用法示例
- wordpress函数format_for_editor()用法示例
- wordpress函数force_ssl_content()用法示例
- wordpress函数flush_rewrite_rules()用法示例
- wordpress函数force_balance_tags()用法示例
- wordpress函数force_ssl_admin()用法示例
如有疑问,请前往问答中心反馈!
反馈