get_comments_link


get_comments_link ( $post_id = 0 )

Parameters:
  • (int|WP_Post) $post_id Optional. Post ID or WP_Post object. Default is global $post.
Returns:
  • (string) The link to the comments.
Defined at:

Description

Retrieves the link to the current post comments.

Related Functions

get_comment_link, next_comments_link, edit_comment_link, get_next_comments_link, comments_link

Top Google Results

User discussions

wpseek mobile