Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
comments_template

Description

The "comments_template" filter can be used to load a custom template form a plugin which replace the themes default comment template.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for comments_template

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
1.5.2 wp-includes/comment-functions.php 24 View in context filter
2.0 wp-includes/comment-functions.php 24 View in context filter
2.0.11 wp-includes/comment-functions.php 31 View in context filter
2.1 wp-includes/comment-template.php 296 View in context filter
2.2 wp-includes/comment-template.php 306 View in context filter
2.3 wp-includes/comment-template.php 306 View in context filter
2.5 wp-includes/comment-template.php 664 View in context filter
2.6 wp-includes/comment-template.php 667 View in context filter
2.7 wp-includes/comment-template.php 843 View in context filter
2.8 wp-includes/comment-template.php 852 View in context filter
2.9 wp-includes/comment-template.php 875 View in context filter
3.0 wp-includes/comment-template.php 887 View in context filter
3.1 wp-includes/comment-template.php 911 View in context filter
3.2 wp-includes/comment-template.php 911 View in context filter
3.3 wp-includes/comment-template.php 911 View in context filter
3.4 wp-includes/comment-template.php 913 View in context filter
3.5 wp-includes/comment-template.php 910 View in context filter
3.6 wp-includes/comment-template.php 910 View in context filter
3.7 wp-includes/comment-template.php 1088 View in context filter
3.8 wp-includes/comment-template.php 1095 View in context filter
3.9 wp-includes/comment-template.php 1148 View in context filter
4.0 wp-includes/comment-template.php 1159 View in context filter
4.1 wp-includes/comment-template.php 1212 View in context filter
4.2 wp-includes/comment-template.php 1211 View in context filter
4.3 wp-includes/comment-template.php 1228 View in context filter
4.4 wp-includes/comment-template.php 1381 View in context filter
4.5 wp-includes/comment-template.php 1426 View in context filter
4.6 wp-includes/comment-template.php 1467 View in context filter
4.7 wp-includes/comment-template.php 1467 View in context filter
4.8 wp-includes/comment-template.php 1469 View in context filter
4.9 wp-includes/comment-template.php 1470 View in context filter
5.0 wp-includes/comment-template.php 1478 View in context filter
5.1 wp-includes/comment-template.php 1508 View in context filter

Related Hooks

We find related hooks using word stems. comments_template has 2 significant word stem(s): comments, template. Note that some of the hooks below may not appear in all versions of WP.