WordPress как на ладони
wordpress jino
фильтр не описан

comments_template хук-фильтр . WP 1.5.1

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

Использование

add_filter( 'comments_template', 'filter_function_name_6259' );
function filter_function_name_6259( $theme_template ){
	// filter...

	return $theme_template;
}
$theme_template(string)
The path to the theme template file.

Связи хука

Используется в: comments_template()

Остальные хуки из: comments_template():

Кусок кода с хуком

Фрагмент из: wp-includes/comment-template.php WP 4.9
...
		set_query_var( 'cpage', 'newest' == get_option('default_comments_page') ? get_comment_pages_count() : 1 );
		$overridden_cpage = true;
	}

	if ( !defined('COMMENTS_TEMPLATE') )
		define('COMMENTS_TEMPLATE', true);

	$theme_template = STYLESHEETPATH . $file;
	/**
	 * Filters the path to the theme template file used for the comments template.
	 *
	 * @since 1.5.1
	 *
	 * @param string $theme_template The path to the theme template file.
	 */
	$include = apply_filters( 'comments_template', $theme_template );
	if ( file_exists( $include ) )
		require( $include );
	elseif ( file_exists( TEMPLATEPATH . $file ) )
		require( TEMPLATEPATH . $file );
	else // Backward compat code will be removed in a future release
		require( ABSPATH . WPINC . '/theme-compat/comments.php');
}

/**
 * Displays the link to the comments for the current post ID.
 *
 * @since 0.71
 *
 * @param string $zero      Optional. String to display when no comments. Default false.
 * @param string $one       Optional. String to display when only one comment is available.
...