comments_number

comments_number

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.1.1

apply_filters('comments_number') is found 1 times:

  • /wp-includes/comment-template.php line 949
    	 * @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.
    	 */
    	return apply_filters( 'comments_number', $output, $number );
    }
    
    /**
     * Retrieves the text of the current comment.
     *
     * @since 1.5.0
    

See this hook used in plugins: