comments_number

Advertisement

Summery Summery

Filters the comments count for display.

Syntax Syntax

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

Parameters Parameters

$output

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

$number

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