wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



default_topic_count_scale › WordPress Function

Od2.9.0
Przestarzałyn/a
default_topic_count_scale ( $count )
Parametry:
  • (int) $count Number of posts with that tag.
    Wymagane: Tak
Powrót:
  • (int) Scaled count.
Zdefiniowane na:
Codex:

Default topic count scaling for tag links.



Źródło

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