Used By
Used By | Description |
---|---|
wp-includes/comment-template.php: comments_template() | Loads the comment template specified in $file. |
Filters the path to the theme template file used for the comments template.
(string) The path to the theme template file.
The comments_template
filter can be used to load a custom template form a plugin which replaces the theme’s default comment template.
Version | Description |
---|---|
1.5.1 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comments_template