_close_comments_for_old_post


_close_comments_for_old_post ( $open, $post_id )

Access:
  • private
Parameters:
  • (bool) $open Comments open or closed
  • (int) $post_id Post ID
Returns:
  • (bool) $open
Defined at:

Description

Close comments on an old post. Hooked to comments_open and pings_open.

Related Functions

_close_comments_for_old_posts, wp_check_comment_flood, check_comment_flood_db, wp_set_comment_cookies, post_comments_feed_link

Top Google Results

User discussions

wpseek mobile