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