wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



default_topic_count_scale › WordPress Function

Da2.9.0
Deprecaton/a
default_topic_count_scale ( $count )
Parametri:
  • (int) $count Number of posts with that tag.
    Richiesto:
Ritorna:
  • (int) Scaled count.
Definito a:
Codex:

Default topic count scaling for tag links.



Sorgenti

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