Uma área de pesquisa sobre o WordPress para devs e autores do tema



comments_number ›

Desde1.5.0
Obsoleton/a
apply_filters( 'comments_number', $output, $number )
Parâmetros: (2)
  • (string) $output A translatable string formatted based on whether the count is equal to 0, 1, or 1+.
    Required: Yes
  • (int) $number The number of post comments.
    Required: Yes
Ver:
  • _n()
Definido em:
Codex:

Filters the comments count for display.





Fonte

return apply_filters( 'comments_number', $output, $number );