_close_comments_for_old_posts
- %1$s is private and should not be used in themes or plugins directly.
_close_comments_for_old_posts ( $posts, $query )
Access:Parameters:- (WP_Post) posts Post data object.
- (WP_Query) query Query object.
Returns:Defined at: - Introduced in WordPress: 2.7.0
- Deprecated in WordPress: —
Description
Closes comments on old posts on the fly, without any extra DB queries. Hooked to the_posts.