W3cubDocs

/WordPress

apply_filters( 'comments_template', string $theme_template )

Filters the path to the theme template file used for the comments template.

Description

Parameters

$theme_template

(string) The path to the theme template file.

Source

File: wp-includes/comment-template.php

View on Trac

Changelog

Version Description
1.5.1 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comments_template