apply_filters( 'comments_number', string $output, int $number )

Filters the comments count for display.

Description Description

See also See also

Top ↑

Parameters Parameters


(string) A translatable string formatted based on whether the count is equal to 0, 1, or 1+.


(int) The number of post comments.

Top ↑

Source Source

File: wp-includes/comment-template.php

View on Trac

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.