WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about comments_number

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/comment-template.php apply_filters 949 /**
* Filters the comments count for display.
*
* @since 1.5.0
*
* @see _n()
*
* @param string $output A translatable string formatted based on whether the count
* is equal to 0, 1, or 1+.
* @param int $number The number of post comments.
*/

Hook Parameters

Parameter Type Name Description
string $output A translatable string formatted based on whether the count
int $number The number of post comments.