Comments (tag)

add_comment_meta()

Adds metadata (custom field) for the specified comment.

clean_comment_cache()

Removes a comment from the object cache.

comment_link()

Display the link to the comments.

comments_template()

Load the comment template specified in $file.

get_comment_author()

Retrieve the author of the current comment.

get_comment_author_link()

Retrieve the HTML link to the URL of the author of the current comment.

get_comment_author_url()

Retrieve the url of the author of the current comment.

get_comment_excerpt()

Retrieve the excerpt of the current comment.

get_comment_link()

Retrieve the link to a given comment.

get_comment_pages_count()

Calculate the total number of comment pages.

get_comments_link()

Retrieves the link to the current post comments.

get_comments_number_text()

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

get_comments_pagenum_link()

Retrieves the comments page number link.

get_next_comments_link()

Retrieves the link to the next comments page.

get_the_comments_navigation()

Retrieves navigation to next/previous set of comments, when applicable.

get_the_comments_pagination()

Retrieves a paginated navigation to next/previous set of comments, when applicable.

have_comments()

Whether there are comments to loop over.

the_comments_navigation()

Displays navigation to next/previous set of comments, when applicable.

wp_allow_comment()

Validates whether this comment is allowed to be made.

WP_Comment_Query{}

Core class used for querying comments.

wp_spam_comment()

Marks a comment as Spam