File: wp-includes/comment.php
-
functionsanitize_comment_cookies()
Sanitizes the cookies sent to the user already.
-
functionget_comments()
Retrieves a list of comments.
-
Filters the comment author’s name cookie before it is set.
-
functionget_comment_statuses()
Retrieves all of the WordPress supported comment statuses.
-
Filters the comment author’s email cookie before it is set.
-
functionget_lastcommentmodified()
Retrieves the date the last comment was modified.
-
Filters the comment author’s URL cookie before it is set.
-
functionget_comment_count()
Retrieves the total comment counts for the whole site or a single post.
-
functionwp_allow_comment()
Validates whether this comment is allowed to be made.
-
functionadd_comment_meta()
Adds meta data field to a comment.
-
Fires immediately after a duplicate comment is detected.
-
functiondelete_comment_meta()
Removes metadata matching criteria from a comment.
-
functioncheck_comment()
Checks whether a comment passes internal checks to be allowed to add.
-
Filters the number of links found in a comment.
-
functionget_approved_comments()
Retrieves the approved comments for a post.
-
functionget_comment()
Retrieves comment data given a comment ID or comment object.