apply_filters( ‘comments_number’, string $comments_number_text, int $comments_number )

Filters the comments count for display.

Description

See also

Parameters

$comments_number_textstring
A translatable string formatted based on whether the count is equal to 0, 1, or 1+.
$comments_numberint
The number of post comments.

Source

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

Changelog

VersionDescription
1.5.0Introduced.

User Contributed Notes

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