The answer is the filter comments_template
add_filter("comments_template", "swmc_comments_template");
Related Posts:
- Hook to edit an column on comments screen?
- How to use the ‘comments_number’ filter?
- Add placeholder attribute to comment form fields
- Using filter to add additional fields to comment_form()
- How to remove commenters ability to add hyperlinks to comments?
- How to remove or replace the log-in link for comment replies?
- Altering the pingback functionality
- How to enable visual editor when editing comments on the dashboard?
- An action hook where a comment meta is updated
- On WordPress 4.4, how to get the post id using the comment_post hook
- remove_filter( ‘comment_author’, ‘floated_admin_avatar’ ); doesn’t work
- Why anything done on comments_array hook gets reset?
- Filter custom posts with / without comments
- Auto delete comment if Contains
- How to modify core when there is no hook?
- Filter In Reply comments from WordPress Admin Panel
- Assign author to comment from post edit page
- Comment search plugin
- Alternative to the filter comment_reply_link
- custom hooks before a comment is updated/edited in the database
- How to direct user after comment save
- Use has_filter on comment_post
- ‘comment_post’ hook doesn’t seem to work? [closed]
- How to use filter on comment submission/insert
- How can I filter the comment action links so that I can display the actions links based on user capabilities?
- Converting restricted html in comments to bbcode
- Comments closed only for contributors
- modifying the comment form
- How to rearrange fields in comment_form()
- How do filters and hooks really work in PHP
- Commenting in user profile page?
- How do I delete all comments from a specific old blog post?
- Removing the “Website” Field from Comments and Replies?
- How to load and show comments with AJAX instead of pagination?
- Edit plugin without hooks in functions.php
- Hook/Filter before and after comments
- Comment form validation
- apply_filters() slices away needed arguments
- I have tried using Plugins to remove 72K comments with no success
- Display commenter’s registration date on comments?
- How to hook some Unicode texts into calendar widget safely?
- How to add attributes to tag when template cannot be directly modified
- show un-approved comments at wordpress front end
- How does WordPress call functions attached to a certain action hook before calling functions attached to other hooks
- How to add consent checkbox in comment section
- How to add pagination to comments?
- WP 4.4.1 allow empty comments via add_action ‘pre_comment_on_post’
- How to get replies of a comment?
- Share comment to twitter after publishing [closed]
- changing comment-page-# to something like review-page-#
- show if comment is in moderation
- Hook to See if Comment got a Reply?
- Deleting the attached “comment replies” when trashing a comment
- How can I get a list of comments by target
- Load comments.php template outside the post loop
- How to change the order of HTML output of a core block?
- TinyMCE as comment editor – encoding issues
- How to auto empty comment trash after X days
- Control panel loads slowly due to 2 slow queries on comment table
- Display complete comment section via post ID
- Comment Pagination Behavior wp_list_comments() – comment ordering and pagination
- Check if comment was successfully submited
- After Submitting Comment Form Shows an Empy Page in WordPress
- Unique User for all visitor, but possibility to comment with unique name
- comments_array filter doesn’t work in some themes
- Link to a User’s Forum Profile From Their Comment
- if user role is then echo text
- strange behavior with comment position
- Safely editing core files
- Way to count the number of people who have commented on a post?
- Batch approve comments
- Disable comments and pingbacks on old custom post types
- Add paragraph tags to comments
- How to tweak comment fields properly from functions.php
- How to allow duplicate comments?
- comment_for() Custom fields not visible when user is logged in
- Two textareas showing up in comments.php
- WordPress comments – delimiter “/” not found
- Give subscribers the option to post anonymously
- Styling Admin comments in WP 3.1.3
- BuddyPress – A hook available to hide custom born date on public profile view?
- Displaying comment counts in WP Gallery thumbnail view
- WordPress comment processing . Default unapproved comments detection before posting
- Edit Comments Fields
- Random output of comments using a shortcode
- Allow comments only for custom post type
- How to get title of images in post content
- Comment author profile image
- Add Index to Item in WordPress Gallery
- Can I allow registered users to comment without being logged in or having to be approved?
- Showing different images depending on user role
- Why the capability ‘activate_plugins’ is needed to allow a role to see all posts/pages/comments?
- How to require users not to be logged in for comments on single page only?
- How to change comment-page-1#comment-25 to any string?
- change text written in english into hindi
- comment-reply.js always focuses on comment textarea
- I need to delete all posts from my homepage & create a static front page [closed]
- Why might a comment turn red on approval?
- check if a comment was made by a registered user
- Can you call a filter hook by “add_action”?