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



comments_number › Filtr WordPress Hooks

Od1.5.0
Przestarzałyn/a
apply_filters( 'comments_number', $comments_number_text, $comments_number )
Parametry: (2)
  • (string) $comments_number_text A translatable string formatted based on whether the count is equal to 0, 1, or 1+.
    Wymagane: Tak
  • (int) $comments_number The number of post comments.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the comments count for display.





Źródło

return apply_filters( 'comments_number', $comments_number_text, $comments_number );