get_page_of_comment()
get_page_of_comment( int $comment_ID, array $args = array() )
计算评论分页时将出现的页码。
Calculate what page number a comment will appear on for comment paging.
返回(Return)
(int|null)注释页码或出现错误时为空。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.7.0 | wp-includes/comment.php:1048 | 2 | 8 |
get_page_of_comment() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_page_of_comment/