_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

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

Related Functions

_close_comments_for_old_posts, wp_latest_comments_draft_or_post_title, check_comment_flood_db, wp_check_comment_flood, wp_set_comment_cookies

Top Google Results

User discussions

wpseek mobile