_close_comments_for_old_posts


_close_comments_for_old_posts ( $posts, $query )

Access:
  • private
Parameters:
  • (WP_Post) $posts Post data object.
  • (WP_Query) $query Query object.
Returns:
  • (array)
Defined at:

Description

Close comments on old posts on the fly, without any extra DB queries. Hooked to the_posts.

Related Functions

_close_comments_for_old_post, wp_latest_comments_draft_or_post_title, wp_set_comment_status, get_comment_author_rss, comments_rss

Top Google Results

User discussions

wpseek mobile