Uma área de pesquisa sobre o WordPress para devs e autores do tema



comment_closed ›

Desde1.5.0
Obsoleton/a
do_action( 'comment_closed', $comment_post_ID )
Parâmetros:
  • (int) $comment_post_ID Post ID.
    Required: Yes
Definido em:
Codex:

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





Fonte

do_action( 'comment_closed', $comment_post_ID );