Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




default_topic_count_scale [ WordPress Function ]

default_topic_count_scale ( $count )
Parameters:
  • (integer) $count number of posts with that tag
Returns:
  • (integer) scaled count
Defined at:



Default topic count scaling for tag links

Source


<?php
function default_topic_count_scale$count ) {
    return 
round(log10($count 1) * 100);
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics