A WordPress-centric search engine for devs and theme authors



comment_closed ›

Since1.5.0
Deprecatedn/a
do_action( 'comment_closed', $comment_post_ID )
Parameters:
  • (int) $comment_post_ID Post ID.
    Required: Yes
Defined at:
Codex:

Fires when a comment is attempted on a post that has comments closed.





Source

do_action( 'comment_closed', $comment_post_ID );