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 ]

Top Google zoekresultaten

Meer ...

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



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