A WordPress-centric search engine for devs and theme authors



comments_per_page ›

Since2.6.0
Deprecatedn/a
apply_filters( 'comments_per_page', $comments_per_page, $comment_status )
Parameters: (2)
  • (int) $comments_per_page The number of comments to list per page.
    Required: Yes
  • (string) $comment_status The comment status name. Default 'All'.
    Required: Yes
Defined at:
Codex:

Filters the number of comments listed per page in the comments list table.





Source

return apply_filters( 'comments_per_page', $comments_per_page, $comment_status );