File: wp-includes/comment.php
-
functionwp_set_comment_status()
Sets the status of a comment.
-
functiongeneric_ping()
Sends pings to all of the ping site services.
-
functionwp_update_comment()
Updates an existing comment in the database.
-
functionpingback()
Pings back the links found in a post.
-
hookcomment_save_pre
Filters the comment content before it is updated in the database.
-
hookpre_ping
Fires just before pinging back links found in a post.
-
hookedit_comment
Fires immediately after a comment is updated in the database.
-
functionwp_defer_comment_counting()
Determines whether to defer comment counting.
-
functionwp_update_comment_count()
Updates the comment count for post(s).
-
Filters the comment author’s IP address before it is set.
-
functionwp_update_comment_count_now()
Updates the comment count for the post.
-
functionwp_throttle_comment_flood()
Determines whether a comment should be blocked because of comment flood.
-
Fires immediately after a post’s comment count is updated in the database.
-
functionwp_new_comment()
Adds a new comment to the database.
-
functiondiscover_pingback_server_uri()
Finds a pingback server URI based on the given URL.
-
Filters a comment’s data before it is sanitized and inserted into the database.
-
functiondo_all_pings()
Performs all pingbacks, enclosures, trackbacks, and sends to pingback services.
-
Filters the current commenter’s name, email, and URL.
-
hookspammed_comment
Fires immediately after a comment is marked as Spam.
-
functionwp_insert_comment()
Inserts a comment into the database.
-
functionwp_unspam_comment()
Removes a comment from the Spam.
-
Fires immediately after a comment is inserted into the database.
-
hookunspam_comment
Fires immediately before a comment is unmarked as Spam.
-
functionwp_filter_comment()
Filters and sanitizes comment data.
-
Fires immediately after a comment is unmarked as Spam.
-
hookpre_user_id
Filters the comment author’s user ID before it is set.
-
functionwp_get_comment_status()
Retrieves the status of a comment by comment ID.
-
Filters the comment author’s browser user agent before it is set.
-
functionwp_transition_comment_status()
Calls hooks for when a comment status transition occurs.
-
Filters the comment content before it is set.