Comments (category)
cancel_comment_reply_link() | Display HTML content for cancel comment reply link. |
comment_author_email_link() | Display the html email link to the author of the current comment. |
comment_form() | Outputs a complete commenting form for use within a template. |
comment_form_title() | Display text based on comment reply status. |
comment_id_fields() | Output hidden input HTML for replying to comments. |
comment_text() | Display the text of the current comment. |
comment_type() | Display the comment type of the current comment. |
comments_link() | Display the link to the current post comments. |
comments_popup_link() | Displays the link to the comments for the current post ID. |
get_avatar() | Retrieve the <img> tag with the avatar of a user who is authorized or provided an email address when commenting. Most commonly used in the comments section. |
get_avatar_data() | Retrieves default data about the avatar. |
get_avatar_url() | Retrieves the avatar URL. |
get_cancel_comment_reply_link() | Retrieve HTML content for cancel comment reply link. |
get_comment() | Retrieves comment data given a comment ID or comment object. |
get_comment_author_email() | Retrieve the email of the author of the current comment. |
get_comment_pages_count() | Calculate the total number of comment pages. |
get_comment_reply_link() | Retrieve HTML content for reply to comment link. |
get_comment_text() | Retrieve the text of the current comment. |
get_comment_type() | Retrieve the comment type of the current comment. |
get_comments() | Retrieve a list of comments. |
get_comments_link() | Retrieves the link to the current post comments. |
get_comments_number() | Retrieves the amount of comments a post has. |
get_comments_pagenum_link() | Retrieves the comments page number link. |
get_edit_comment_link() | Retrieves the edit comment link. |
get_next_comments_link() | Retrieves the link to the next comments page. |
get_page_of_comment() | Calculate what page number a comment will appear on for comment paging. |
get_previous_comments_link() | Retrieves the link to the previous 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. |
is_comment_feed() | Is the query for a comments feed? |
is_trackback() | Is the query for a trackback endpoint call? |
next_comments_link() | Displays the link to the next comments page. |
paginate_comments_links() | Displays or retrieves pagination links for the comments on the current post. |
previous_comments_link() | Displays the link to the previous comments page. |
sanitize_comment_cookies() | Sanitizes the cookies sent to the user already. |
the_comments_navigation() | Displays navigation to next/previous set of comments, when applicable. |
the_comments_pagination() | Displays a paginated navigation to next/previous set of comments, when applicable. |
wp_allow_comment() | Validates whether this comment is allowed to be made. |
wp_count_comments() | Retrieve total comments for blog or single post. |
wp_delete_comment() | Trashes or deletes a comment. |
wp_get_current_commenter() | Get current commenter's name, email, URL from cookies. Used for comments form. |
wp_handle_comment_submission() | Handles the submission of a comment, usually posted to wp-comments-post.php via a comment form. |
wp_insert_comment() | Inserts/adds a comment into the database. |
wp_list_comments() | List comments. Used in the comments.php template to list comments for a particular post. |
wp_new_comment() | Adds a new comment to the database. |
wp_notify_moderator() | Notifies the moderator of the site about a new comment that is awaiting approval. |
wp_notify_postauthor() | Notify an author (and/or others) of a comment/trackback/pingback on a post. |
wp_set_comment_cookies() | Sets the cookies (name, email, url) that are used to identify an unauthenticated user when commenting. |
wp_set_comment_status() | Sets the status of a comment. |
wp_spam_comment() | Marks a comment as Spam |
wp_transition_comment_status() | Call hooks for when a comment status transition occurs. |
wp_update_comment() | Updates an existing comment in the database. |
wp_update_comment_count() | Updates the comment count for post(s). |