函数原型
comment_id_fields( int $post_id )
函数描述
Outputs hidden input HTML for replying to comments.
是否弃用
未弃用
函数参数
-
$post_id
int
Optional - Post ID. Defaults to the current post ID.
函数返回值
无
函数位置
File: wp-includes/comment-template.php.
函数源码
function comment_id_fields( $post_id = 0 ) {
echo get_comment_id_fields( $post_id );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |

