
简单有效的WordPress调试及故障排查小技巧
apply_filters( 'get_page_of_comment_query_args', $comment_args )
get_page_of_comment_query_args是一个WordPress函数,用于检索用于检索给定文章的评论的查询参数。该函数接受一个文章ID作为参数,并返回一个用于评论查询的参数数组。
过滤get_page_of_comment()中用于查询评论的参数。
$comment_args = apply_filters( 'get_page_of_comment_query_args', $comment_args );