_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, wp_check_comment_flood, wp_set_comment_cookies, check_comment_flood_db

Top Google Results

User discussions

wpseek mobile