CARVIEW |
Select Language
HTTP/2 200
content-encoding: gzip
vary: Accept-Encoding,User-Agent
set-cookie: lfuser=null; expires=Mon, 15-Sep-2025 17:30:46 GMT; Max-Age=0; path=/; secure
set-cookie: lfpass=null; expires=Mon, 15-Sep-2025 17:30:46 GMT; Max-Age=0; path=/; secure
cache-control: max-age=600
expires: Wed, 15 Oct 2025 17:40:46 GMT
content-type: text/html; charset=UTF-8
date: Wed, 15 Oct 2025 17:30:46 GMT
server: Apache
comment_class Wordpress hook details -- Adam Brown, BYU Political Science
WordPress hook directory
WP hooks navigation: Home/browse • Actions index • Filters index
WordPress hook directory
comment_class
WordPress version history for comment_class
This database has information for all major versions from WP 1.2.1 through 6.7.
Version | File | Line | Type | |
---|---|---|---|---|
2.7 | wp-includes/comment-template.php | 338 | View in context | filter |
2.8 | wp-includes/comment-template.php | 340 | View in context | filter |
2.9 | wp-includes/comment-template.php | 343 | View in context | filter |
3.0 | wp-includes/comment-template.php | 358 | View in context | filter |
3.1 | wp-includes/comment-template.php | 358 | View in context | filter |
3.2 | wp-includes/comment-template.php | 358 | View in context | filter |
3.3 | wp-includes/comment-template.php | 358 | View in context | filter |
3.4 | wp-includes/comment-template.php | 358 | View in context | filter |
3.5 | wp-includes/comment-template.php | 358 | View in context | filter |
3.6 | wp-includes/comment-template.php | 358 | View in context | filter |
3.7 | wp-includes/comment-template.php | 427 | View in context | filter |
3.8 | wp-includes/comment-template.php | 434 | View in context | filter |
3.9 | wp-includes/comment-template.php | 450 | View in context | filter |
4.0 | wp-includes/comment-template.php | 450 | View in context | filter |
4.1 | wp-includes/comment-template.php | 483 | View in context | filter |
4.2 | wp-includes/comment-template.php | 483 | View in context | filter |
4.3 | wp-includes/comment-template.php | 486 | View in context | filter |
4.4 | wp-includes/comment-template.php | 506 | View in context | filter |
4.5 | wp-includes/comment-template.php | 506 | View in context | filter |
4.6 | wp-includes/comment-template.php | 525 | View in context | filter |
4.7 | wp-includes/comment-template.php | 525 | View in context | filter |
4.8 | wp-includes/comment-template.php | 525 | View in context | filter |
4.9 | wp-includes/comment-template.php | 525 | View in context | filter |
5.0 | wp-includes/comment-template.php | 525 | View in context | filter |
5.1 | wp-includes/comment-template.php | 532 | View in context | filter |
5.2 | wp-includes/comment-template.php | 532 | View in context | filter |
5.3 | wp-includes/comment-template.php | 536 | View in context | filter |
5.4 | wp-includes/comment-template.php | 537 | View in context | filter |
5.5 | wp-includes/comment-template.php | 538 | View in context | filter |
5.6 | wp-includes/comment-template.php | 538 | View in context | filter |
5.7 | wp-includes/comment-template.php | 538 | View in context | filter |
5.8 | wp-includes/comment-template.php | 538 | View in context | filter |
5.9 | wp-includes/comment-template.php | 538 | View in context | filter |
6.0 | wp-includes/comment-template.php | 539 | View in context | filter |
6.1 | wp-includes/comment-template.php | 539 | View in context | filter |
6.2 | wp-includes/comment-template.php | 570 | View in context | filter |
6.3 | wp-includes/comment-template.php | 587 | View in context | filter |
6.4 | wp-includes/comment-template.php | 587 | View in context | filter |
6.5 | wp-includes/comment-template.php | 587 | View in context | filter |
6.6 | wp-includes/comment-template.php | 587 | View in context | filter |
6.7 | wp-includes/comment-template.php | 599 | View in context | filter |
Related Hooks
We find related hooks using word stems. comment_class has 2 significant word stem(s): comment
, class
. Note that some of the hooks below may not appear in all versions of WP.
- Hooks with 1 identical stem
- add_meta_boxes_comment
- admin_body_class
- admin_comment_types_dropdown
- akismet_comment_check_response
- akismet_comment_form_privacy_notice
- akismet_comment_form_privacy_notice_markup
- akismet_comment_form_privacy_notice_url_display
- akismet_comment_form_privacy_notice_url_hide
- akismet_comment_nonce
- akismet_delete_comment_batch
- akismet_delete_comment_interval
- akismet_delete_comment_limit
- akismet_excluded_comment_types
- akismet_submit_nonspam_comment
- akismet_submit_spam_comment
- allow_empty_comment
- block_parser_class
- body_class
- cancel_comment_reply_link
- category_css_class
- check_comment_flood
- clean_comment_cache
- comment_add_author_url
- comment_atom_entry
- comment_author
- comment_author_link_rel
- comment_author_rss
- comment_closed
- comment_content_presave
- comment_cookie_lifetime
- comment_duplicate_message
- comment_duplicate_trigger
- comment_edit_pre
- comment_edit_redirect
- comment_email
- comment_excerpt
- comment_excerpt_length
- comment_feed_groupby
- comment_feed_join
- comment_feed_limits
- comment_feed_orderby
- comment_feed_where
- comment_flood_filter
- comment_flood_message
- comment_flood_trigger
- comment_form
- comment_form_after
- comment_form_after_fields
- comment_form_before
- comment_form_before_fields
- comment_form_comments_closed
- comment_form_default_fields
- comment_form_defaults
- comment_form_field_comment
- comment_form_field_{$name}
- comment_form_fields
- comment_form_logged_in
- comment_form_logged_in_after
- comment_form_must_log_in_after
- comment_form_submit_button
- comment_form_submit_field
- comment_form_top
- comment_id_fields
- comment_id_not_found
- comment_link
- comment_loop_start
- comment_max_links_url
- comment_moderation_headers
- comment_moderation_recipients
- comment_moderation_subject
- comment_moderation_text
- comment_notification_headers
- comment_notification_notify_author
- comment_notification_recipients
- comment_notification_subject
- comment_notification_text
- comment_on_draft
- comment_on_password_protected
- comment_on_trash
- comment_post
- comment_post_redirect
- comment_relatedlinks_list
- comment_remove_author_url
- comment_reply_link
- comment_reply_link_args
- comment_reply_to_unapproved_comment
- comment_row_actions
- comment_save_pre
- comment_status_links
- comment_status_pre
- comment_text
- comment_text_rss
- comment_url
- comment_{$new_status}_{$comment->comment_type}
- comment_{$old_status}_to_{$new_status}
- customize_dynamic_partial_class
- customize_dynamic_setting_class
- delete_comment
- deleted_comment
- deprecated_class_run
- deprecated_class_trigger_error
- duplicate_comment_id
- edit_comment
- edit_comment_link
- edit_comment_misc_actions
- get_avatar_comment_types
- get_comment
- get_comment_ID
- get_comment_author
- get_comment_author_IP
- get_comment_author_email
- get_comment_author_link
- get_comment_author_url
- get_comment_author_url_link
- get_comment_date
- get_comment_excerpt
- get_comment_link
- get_comment_text
- get_comment_time
- get_comment_type
- get_default_comment_status
- get_edit_comment_link
- get_image_tag_class
- get_page_of_comment
- get_page_of_comment_query_args
- login_body_class
- ms_user_list_site_class
- nav_menu_css_class
- nav_menu_submenu_css_class
- page_css_class
- parse_comment_query
- post_class
- post_class_taxonomies
- post_comment_status_meta_box-options
- post_comment_text
- pre_comment_approved
- pre_comment_author_email
- pre_comment_author_name
- pre_comment_author_url
- pre_comment_content
- pre_comment_on_post
- pre_comment_user_agent
- pre_comment_user_domain
- pre_comment_user_ip
- pre_wp_update_comment_count_now
- preprocess_comment
- rest_after_insert_comment
- rest_comment_collection_params
- rest_comment_query
- rest_comment_trashable
- rest_delete_comment
- rest_insert_comment
- rest_pre_insert_comment
- rest_prepare_comment
- rest_preprocess_comment
- sanitize_comment_cookies
- sanitize_html_class
- set_comment_cookies
- spam_comment
- spammed_comment
- transition_comment_status
- trash_comment
- trashed_comment
- unspam_comment
- unspammed_comment
- untrash_comment
- untrashed_comment
- wp_admin_bar_class
- wp_anonymize_comment
- wp_atom_server_class
- wp_audio_shortcode_class
- wp_check_comment_disallowed_list
- wp_comment_reply
- wp_get_comment_fields_max_lengths
- wp_insert_comment
- wp_is_comment_flood
- wp_list_table_class_name
- wp_rest_server_class
- wp_set_comment_status
- wp_update_comment_count
- wp_update_comment_data
- wp_update_comment_type_batch_size
- wp_video_shortcode_class
- wp_xmlrpc_server_class
- xmlrpc_prepare_comment