comments_number

Advertisement

Summery Summery

Filters the comments count for display.

Syntax Syntax

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

Parameters Parameters

$output

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

$number

(int) The number of post comments.

Source Source

File: wp-includes/comment-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.