get_comments_number_text


get_comments_number_text ( $zero = false, $one = false, $more = false, $post_id = 0 )

Parameters:
  • (string) zero Optional. Text for no comments. Default false.
  • (string) one Optional. Text for one comment. Default false.
  • (string) more Optional. Text for more than one comment. Default false.
  • (int|WP_Post) post_id Optional. Post ID or WP_Post object. Default is the global `$post`.
Returns:
  • (string) Language string for the number of comments a post has.
Defined at:
Change Log:
  • 5: .

Description

Displays the language string for the number of comments the current post has.

Related Functions

get_comments_number, get_comment_text, comments_number, get_comments_popup_template, get_comment_type

Top Google Results

User discussions

wpseek mobile