在注释循环中迭代注释索引。
原型
the_comment()
返回值
(object)
源文件
路径:wp-includes/query.php
<?php
...
function the_comment() {
global $wp_query;
return $wp_query->the_comment();
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/the_comment/