comments_template filter-hook . WP 1.5.1
Filters the path to the theme template file used for the comments template.
Usage
add_filter( 'comments_template', 'filter_function_name_9608' ); function filter_function_name_9608( $theme_template ){ // filter... return $theme_template; }
- $theme_template(string)
- The path to the theme template file.
Changelog
Since 1.5.1 | Introduced. |
Where the hook is called
wp-includes/comment-template.php 1551
$include = apply_filters( 'comments_template', $theme_template );